my $result = `SS Dir \"$/\" -Yadmin`;
Have a look at Corion's node where it is pointed out that you didn't do a character escape for the $ in the backticked command. This is likely to take care of the issues you are having. You might notice in my original suggestion I had the command held in a variable ($cmd) which I print out to verify it looks like I want.
my $cmd = "\"$sspath\\ss.exe\" Checkout \"\$/DMS MW/SCADA/Substati +on Editor +Files/$filename\" -C- -I- -GL\"$checkout_path \""; #print "\n********************\n\$cmd=$cmd\n"; # if the file is already there it doesn't download it again. # BUT, it won't overwrite a file unless the read-only bit is set. system $cmd;
In reply to Re: VSS automation strange problem
by Lotus1
in thread VSS automation strange problem
by cormanaz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |