Hi
Newbie here so I'll apologize ahead of time...lol
I have a simple batch file to delete a file if it exists and copy another
Actually I would like to do a move instead of a copy
The main problem is when I run the batch file the command window doesn't close
I have googled it and tried an exit but no luck
any ideas would be great
Thanks
Joe
Simple Batch file not closing??
Moderator: DosItHelp
Re: Simple Batch file not closing??
I do not think anyone here is omniscient. Would help to see your code.
-
- Expert
- Posts: 1166
- Joined: 06 Sep 2013 21:28
- Location: Virginia, United States
Re: Simple Batch file not closing??
jbalbo wrote:The main problem is when I run the batch file the command window doesn't closee
Why would it?
Re: Simple Batch file not closing??
ShadowThief wrote:jbalbo wrote:The main problem is when I run the batch file the command window doesn't closee
Why would it?
It could be run from a shortcut that leaves the window open.
jbalbo, Squashman's point is one that is made very frequently. See here: viewtopic.php?f=3&t=6108