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

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #13  
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
 

Bookmarks


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 01:23 AM.


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