viksds15
Old Hand
Points: 360
More actions
February 23, 2009 at 7:06 am
#197440
Hi All,
I have a batch script that accepts parameters like input, output directories and another to accept the file name.
I have a move command command being executed and it prints the directory path with the file name on the screen.
MOVE %input% %output%
Is there a possibility to stop the output being printed on the screen.
Thanks,
Victor
Daniel-263255
SSC Veteran
Points: 260
February 24, 2009 at 7:53 am
#949378
You can use command line redirection to hide this.
Try this to hide everything except errors:
MOVE %input% %output% 1>nul
If you want everything including errors hidden:
MOVE %input% %output% >nul
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy