2d
awarded Popular Question
Jul
24
awarded Famous Question
Jul
17
comment Making a custom dirlisting in PS2
yes, I ran your updated code..it's weird and I will check it against the actual folders that I'm running later on. Let me get back to you over the weekend with a better understanding of your code and my folderstructure. If you could check back here on monday, that would be greatly appreciated :)
Jul
17
comment Making a custom dirlisting in PS2
This does not seem to work?
Jul
17
accepted Making a custom dirlisting in PS2
Jul
17
comment Making a custom dirlisting in PS2
I just noticed, that whenever I have more than 1 L0x file in a directory, your script outputs the foldername, and not the path of the first LEF. So, in my example: root/dir1/dir11/ 22kb 2 instead of root/dir1/dir11/x.L01 22kb 2. Any ideas?
Jul
17
accepted Write output of PS2 script to textfile
Jul
17
asked Write output of PS2 script to textfile
Jul
16
comment Making a custom dirlisting in PS2
@MathiasR.Jessen dirs only contain L0x files or other files. @Matt Yes, in theory to can go up to .L99. @Matt L01 is the first one.
Jul
16
asked Making a custom dirlisting in PS2
Jul
15
accepted Catch value from within XML string
Jul
14
asked Catch value from within XML string
Jul
9
accepted Loop through subdirs and (1) copy files to another dir (2) renaming them to their md5 hash
Jul
9
comment Loop through subdirs and (1) copy files to another dir (2) renaming them to their md5 hash
Thanks. I get the error Exception calling "ReadAllBytes" with "1" argument(s): "Illegal characters in path." Am I defining the path wrong? In reality, the path has spaces in it (D:/My Data/FOO/BAR/BAZ 0001/)
Jul
9
comment Loop through subdirs and (1) copy files to another dir (2) renaming them to their md5 hash
Thanks! This would seem to be working. However, when I run it (I set executionpolicy to unrestricted), nothing is happening. No error message. The folders exist. I'm running PS elevated. Any thoughts? Also, if I put in for instance a Write-Host $hash, nothing appears in the console? Could it be that it does not iterate through the subfolders (there are no images in the rootfolder itself)? I tried Get-ChildItem "D:\rootdir\*" but it made no difference.
Jul
9
asked Loop through subdirs and (1) copy files to another dir (2) renaming them to their md5 hash
May
29
awarded Nice Question
Apr
7
awarded Notable Question
Mar
16
accepted Iterating to a distinct list and insert values into another table
Mar
16
comment Iterating to a distinct list and insert values into another table
@RhysJones I'd prefer to insert via the SP to keep a consistent workflow / script. In the rest of the script, all status messages that need to go to the audit log, are inserted via the SP. Does that make sense?
1 2 3 4 5