American Civil War Game Club (ACWGC)
http://www.wargame.ch/board/acwgc/

Stupid DOS Question
http://www.wargame.ch/board/acwgc/viewtopic.php?f=4&t=7467
Page 1 of 1

Author:  J. Corbin [ Tue Mar 15, 2005 9:38 am ]
Post subject:  Stupid DOS Question

I have put batch commands in my AUTOEXEC file to clean out the PBEM.xxx and PBEM.YY files.

problem is that I cannot remember basic DOS crap...

example:

all my civil war games are in seperate subdirectories of a main CIVIL WAR directory.

The directory is actually C:\CIVIL WAR\

problem is when I type "cd CIVIL WAR" I get an error that says to many parameters. Basically it does not like the space between CIVIL and WAR in the directory name.

Can anyone tell me how to get around this... I am using winblows 98se


Colonel John Corbin
Commanding officer
2nd Division
XVIII Corps
AoJ

Author:  robhink [ Tue Mar 15, 2005 9:46 am ]
Post subject: 

Try typing in cd CIVILW~1

That should take you to the folder using the old dos 8.3 naming conventions.


Col. Robert Hinkle
"Hinks Brigade"
1/I/AoA

Author:  Sean Turner [ Tue Mar 15, 2005 11:20 am ]
Post subject: 

Hard for me to remember as well, but shouldn't it be:

CD\Civil War

Doesn't it need the slash[?]

Maj Gen Sean Turner
3rd Cavalry Division, "Yankee Thrasher"
I Corps
Army of Alabama

Author:  Robert Frost [ Tue Mar 15, 2005 2:11 pm ]
Post subject: 

My DOS is very rusty also, but isn't there an 8 position limitation on directory/file names? Maybe I am thinking of something else, but you might try renaming to CIVILWAR.

BG Robert Frost
Army of Cumberland

Author:  Gene Nix [ Tue Mar 15, 2005 3:58 pm ]
Post subject: 

John,
Of course you know to bring up the black DOS screen as a window, and type in "cd.." as needed but without the quotation marks to get to the C directory, and then "dir" to get a listing of what's in the C drive. This listing will show you what the computer is really calling that "Civil War" sub-directory. It will be something like that "civilw~1" name, cut to eight characters. I still do a little DOS typing because, if you can believe it, I still zip my game files using an early-90s freeware program called "pkware" or "pkzip" or something. Took me a while to figure out why I used to have problems downloading home-made scenarios, until I realized that files whose names shared the first five or six letters (there are many) were being overwritten as they unzipped by this relatively primitive software. That is, fredericksburg1.*** and fredericksburg2.*** both abbreviate to freder~1.***, with one overwriting the other.

Anyway, back to the point: type and enter "dir" to see what your computer really calls that subdirectory.
Salute!
GEN Gene Nix, AotM
Boggy Creek Swamp Rats

Author:  G.Krygier [ Wed Mar 16, 2005 10:13 am ]
Post subject: 

Hi,

If you want to create a space between Civil and War, you can tape an ASCII character: Hold "ALT" and tape 255. Sorry for my English

Good luck

<b>ACW
Brigadier Général
G. Krygier
Commandant 2nd Division
"Sons of La Fayette"
III Corps AoA

NWC
Général de Brigade
G. Krygier
<font color="blue">Commandant</font id="blue">-2eBr-<font color="red">11Div</font id="red">
<font color="gold">III Corps AdN</font id="gold"></b>

Author:  Dirk Gross [ Sat Mar 19, 2005 3:29 am ]
Post subject: 

Here's my batch file:

cd c:\
del /s pbemail.yyy
del /s pbemail.xxx
del /s campaign.yyy
del /s campaign.xxx

The /s gets all subdirectories so it essentially finds all such files on my c: drive and deletes tham all. That way, it doesn't matter how many game directories you have or their names.

Major General Dirk Gross
CAV DIV/XIV Corps/AoC

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/