You'd replace all instances of "_backup" with whatever you want (other than illegal filename characters). And avoid using spaces.MiOw wrote:If I were to be picky and want it in the C:\BACKUP would I simply put "C:\BACKUP\" in place of the "..\_backup"?syntax wrote:The one I posted ( http://www.mudinfo.net/viewtopic.php?p= ... b41d#p4336 ) backs up the entire WG folder, minus wccupda2.dat.
Thanks again!
Handy script for cleanup (WGSCLEAN.bat)
Re: Handy script for cleanup (WGSCLEAN.bat)
Re: Handy script for cleanup (WGSCLEAN.bat)
Took me a second to recognize the ".." as a similar command to "cd .." so now I understand.syntax wrote:You'd replace all instances of "_backup" with whatever you want (other than illegal filename characters). And avoid using spaces.

The script worked perfectly and I appreciate the help. Nice to have a very robust and solid backup process and when it comes to hosting multiple cloud-based servers the elimination of wasted space on that log file will save a few bucks each year.
ClassicMUD... lightly seasoned with no dupes!
www.mudinfo.net/viewtopic.php?f=64&t=2357
www.mudinfo.net/viewtopic.php?f=64&t=2357
Re: Handy script for cleanup (WGSCLEAN.bat)
It's not a command, per say. They part of the paths; ".." means previous directory and a single "." means current directory.MiOw wrote:Took me a second to recognize the ".." as a similar command to "cd .." so now I understand.
Re: Handy script for cleanup (WGSCLEAN.bat)
Aye, re-read my post and my intent was to say "similar to the command of "cd ..", not that ".." in the batch was itself a command.syntax wrote:It's not a command, per say. They part of the paths; ".." means previous directory and a single "." means current directory.MiOw wrote:Took me a second to recognize the ".." as a similar command to "cd .." so now I understand.
Thanks again!
ClassicMUD... lightly seasoned with no dupes!
www.mudinfo.net/viewtopic.php?f=64&t=2357
www.mudinfo.net/viewtopic.php?f=64&t=2357
Re: Handy script for cleanup (WGSCLEAN.bat)
Sorry if I missed this, I did dig around a little online and on this site... but once I have the .bat backing up the way I want, how do I get it to launch when the BBS does clean up automatically?
Thanks in advance!
Thanks in advance!
- BearFather
- Posts: 668
- Joined: Sun Feb 09, 2014 6:27 pm
- Location: Portland, OR
- Contact:
Re: Handy script for cleanup (WGSCLEAN.bat)
Ahhh, thank you BearFather! Thats why I didnt find that file on a directory search. Much appreciated. 
