.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

BCT Commander- Save $6.00
World Supremacy- Save $10.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 2: The Ascension Wars

Reply
 
Thread Tools Display Modes
  #1  
Old January 13th, 2004, 11:34 AM

General Tacticus General Tacticus is offline
Sergeant
 
Join Date: Dec 2003
Posts: 201
Thanks: 0
Thanked 0 Times in 0 Posts
General Tacticus is on a distinguished road
Default Re: auto-save feature ? (within dom2 or external program)

Quote:
Originally posted by mercurycs:
Having trouble with batch files,
ok, my batch file looks like this(all on one line)

copy C:\Program Files\dominions2\virtue\*.* C:\Program Files\dominions2\virtue\bak


I get a "too many parameters" error. I believe it is because dos is reading the space between "program" and "files" and it is messing it all up. How do you put in a directory that has a space in it without dos thinking it is a new command? or maybe something else is wrong with my batch file????
You know, don't use dos for hmmmmmmm...8 or 9 years and you even forget the basics.
Put "" around your names :

copy "C:\Program Files\dominions2\virtue\*.*" "C:\Program Files\dominions2\virtue\bak\"

this should work. I also added a \ at the end, to make sure copy doesn't bundle all your files into one file named bak, but puts them in a subfolder named bak.

Another solution would be to put your batch file in your virtue subfolder, and just do :
copy *.* bak\
__________________
Read my Mictlan AAR :
A tale of Fire and Blood (in progress)
Reply With Quote
  #2  
Old January 13th, 2004, 11:49 AM

mercurycs mercurycs is offline
Private
 
Join Date: Dec 2003
Location: Vermont, USA
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
mercurycs is on a distinguished road
Default Re: auto-save feature ? (within dom2 or external program)

thanks general tacticus, the quotes worked but every time i try it with the added backslash after bak i get an invalid directory error. it works without it though.
__________________
Mercurycs
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 12:03 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.