Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Starting Out  (Read 3817 times)

0 Members and 1 Guest are viewing this topic.

mike r

  • Guest
Starting Out
« on: August 06, 2004, 02:33:59 AM »
Hi I am 13 and have started using cmd prompt I was just wondering if anyone has any tips on writing .bat files that open programs. Any help would be much appreciated as I do not no much about using command prompt. Thanks.

johnwill

  • Guest
Re: Starting Out
« Reply #1 on: August 06, 2004, 07:42:56 AM »
Opening a file from a batch file is as simple as putting the name of the file in the batch file.  For instance:

<batch file contents>
NOTEPAD.EXE C:\TEST.TXT

... will invoke notepad and open the file C:\TEST.TXT

MalikTous

  • Guest
Re: Starting Out
« Reply #2 on: August 07, 2004, 11:23:17 AM »
A copy of the DOS 6.22 HELP.* and QBASIC.* files in your DOS or Windows\Command directory will give you access to a better HELP function than the /? one in DOS 7.x for Winn9x. WinNT/2K and XP trimmed down the available commands too much in the emulator...

There are still good 'tutorials' for batch file programming on the Web, use a search tool.