The program is complaining because you have used the -f option which requires a source and output file. If you replace the -f with -o it will update in place.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello all,
I'd like to use gsar in a batch to process a file thus:
gsar -sDUMMYPATH -rC:\Program Files\MyApp -f MyApp.ini
...but gsar says "command error, not a valid decimal number : \Pr"
I tried enclosing the replacement in quotes but to no avail.
Any ideas?
thanks,
Ben
Sorry, belatedly realised that :: is the partial answer
gsar -sDUMMYPATH -r"C::\Program Files\MyApp" -f MyApp.ini
BUT - quotes still don't work: I get error:
command error, no input file name specified
Any further thoughts?
The program is complaining because you have used the -f option which requires a source and output file. If you replace the -f with -o it will update in place.
Try
gsar -sDUMMYPATH -r"C:/Program Files/MyApp" -f MyApp.ini
or
gsar -sDUMMYPATH -r"C:\Program Files\MyApp" -f MyApp.ini