Prob with ma md switch
Status: Alpha
Brought to you by:
pforret
Hello.
I use this command to move files from a folder to
another folder:
waRmZip.wsf "D:\Program Files\Uce\LOG" /ma:1
/md:D:\UCELOG\$DAY\ /q
It's work wonderfull but wen i put the ma at 0 he dont
create the folder with day argument and he create a
folder "$DAY".
I try to put only the md command and he make nothing
Regards
DURLOL
I'm sure this is too late to help you any based on the date of your post, but I figured I would post this fix anyhow for anyone else running into this issue.
Simply change how you specify the 0 day. Supposedly /ma:0 does the trick, but as you can see somehow breaks the $variable.
However, you can use /ma:0.001 which will work like any non 0 day and keep the $variable, but the last digit won't get used and the script still thinks its looking for anything older than 0 days.
Dirty fix I know, but I am not talented enough to rewrite this script, and this worked for me!