home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > General Tech Discussion
Ask a Tech Support Question (free)!

MS-DOS switch help

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 2141
Discussions: 204,446, Posts: 2,418,527, Members: 249,866
Old October 23rd, 2009, 03:47 PM   Digg it!   #1 (permalink)
Junior Member
 
Join Date: Jul 2009
Posts: 4
Question
MS-DOS switch help

Hi there,

I'm trying to create a batch file that will open a pcsws.exe but I also need to load the config file with it automatically. Does anyone know what switch I need to use, or where I can find a list of related switches?

Thanks for any help anyone can offer!
cmserene2 is offline   Reply With Quote
Old October 23rd, 2009, 04:31 PM     #2 (permalink)
Ride 'em Cowboy
 
Steve R Jones's Avatar
 
Join Date: Oct 2001
Location: Dallas, TX
Posts: 9,508
Switches have to built into the EXE file.

You can try: pcsws.exe /? to see if it has built in.
__________________
Have you hugged your kid today??
Steve R Jones is online now   Reply With Quote
Old October 23rd, 2009, 10:37 PM     #3 (permalink)
Ultimate Member
 
SeanC's Avatar
 
Join Date: Oct 2001
Location: Toronto Canada
Posts: 4,724
I don't think pcsws.exe comes with DOS so if what Steve suggested doesn't work you'll have to find some documentation on the program.
__________________
AMD Phenom Q9500 Quad-Core 2.2ghz / Asus M3A78-EMH HDMI / 4GB PC667 RAM / 320GB SATA II
SeanC is offline   Reply With Quote
Old October 23rd, 2009, 11:21 PM     #4 (permalink)
Ultimate Member
 
zepper's Avatar
 
Join Date: Sep 2002
Location: Finger Lakes area
Posts: 2,398
Lightbulb

Yup. Generally the command line to load a data file along with a program is just to put it on the command line, e.g. d:\programs\wp\wordperfect.exe c:\mywpfiles\myfilename Some programs may need a switch like /loadfile=myfilename but most don't. The /? or /help as mentioned above should display the list of parameters available. You may also need the file's location as well unless the program has had its file location setting set to where you actually keep your data files.

.bh.

__________________
"Our freedom depends on five boxes: soap, ballot, jury, witness; and, when all else fails, Ammo. " ?author?

Last edited by zepper : October 23rd, 2009 at 11:26 PM.
zepper is offline   Reply With Quote
Old October 26th, 2009, 10:52 AM     #5 (permalink)
Junior Member
 
Join Date: Jul 2009
Posts: 4
Thanks for the suggestions! /? did nothing so I assume that means there are no switches built in. Just as a last measure I typed the exe file and then the config file name on the same line and it worked! I should have tried that first but I'm still learning DOS so I didn't know. Thanks again!!
cmserene2 is offline   Reply With Quote
Old October 26th, 2009, 02:54 PM     #6 (permalink)
Ultimate Member
 
zepper's Avatar
 
Join Date: Sep 2002
Location: Finger Lakes area
Posts: 2,398
Thumbs up

YW and welcome to TIMO - sorry I didn't catch that in my first post.

.bh.

zepper is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads
Thread Thread Starter Forum Replies Last Post
Wiring from a switch to a second switch yotanka72 Technical Support 1 November 10th, 2008 05:48 PM
Microsoft DOS (MS DOS and the Windows command prompt discussions and help) tiwari.dinesh@gm Applications and Operating Systems 0 June 25th, 2008 04:58 AM
Switch-Hitter Meets Ambidextrous Switch-Pitcher (RHQ) pickel IMO Community 8 June 22nd, 2008 03:44 PM
WHICH SWITCH?? Help choose the correct toggle switch. LeftCoast PC Modification 9 August 20th, 2004 05:52 PM
why does dos 6.22 do this? capybara Applications and Operating Systems 7 May 23rd, 2002 05:06 PM


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Is It Just Me? (1408)
Earthquake relief for Hawaii (8)
[COLOR="Green"]THE GREEN .. (24)
Need LG W2343T monitor driver (6)
Compaq presario V5000 LAN Driver (8)
Need some suggestions on building a.. (13)
[ F@H Chat] 03/07/10 New Month New.. (72)
You Do Not Have Permission to Chang.. (17)
Processor speeds? (13)
Want a new power supply for my Dell.. (30)
SATA to eSATA (5)
Recent Discussions
Sager NP9262 Vista System Lockups; Wi.. (7)
My PC shutsdown after 30 minutes of b.. (3)
alt keys not working (1)
Hypercam 2 plays sound too fast (0)
Need LG W2343T monitor driver (6)
Compaq presario V5000 LAN Driver (8)
Drive 0 not found: Serial ATA, Sata-0 (2)
Writing lead-out (3)
What type of memory is a pen drive? (2)
Using Intel Turboboost on Xeon 5500 (0)
Can't open zip files in vista??? (7)
Computer Shutdown with warning buzzer (1)
"." symbol doesn't work, on.. (6)
Excel - How to Match Destination Form.. (16)
Need some suggestions on building a g.. (13)
[ F@H Chat] 03/07/10 New Month New T.. (72)
What CPU is better...? (3)
Gamestop B1G1 used games (1)
WebCam problems???? (3)
a "Could not complete the operat.. (18)
Mirror's Edge (Xbox 360 or PS3) $9.99 (0)
Unable to Connect desktop to other la.. (1)
PC won't boot! any help/suggestions b.. (6)
DVD burner won't burn DVD but burns C.. (9)
Tuniq Tower 120 Extreme Cpu Cooler (0)


All times are GMT -4. The time now is 01:05 PM.
TechIMO Copyright 2009 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28