Computing.Net > Forums > Windows XP > Batch file to open multiple dos pro

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Batch file to open multiple dos pro

Reply to Message Icon

Name: bsuganth
Date: June 4, 2008 at 01:27:37 Pacific
OS: XP
CPU/Ram: NA
Product: NA
Comment:

Hi there,
Can anyone help me with a batch file which opens the dos prompt multiple times? (prefereably the no. of windows to be opened is based on a user input)




Sponsored Link
Ads by Google

Response Number 1
Name: samsung
Date: June 4, 2008 at 03:43:32 Pacific
Reply:

XP has no 'DOS' did you mean CMD.exe (NT COMMAND PROMPT) or COMMAND.COM (NT Virtual DOS Machine) ??


0

Response Number 2
Name: IVO
Date: June 4, 2008 at 05:16:45 Pacific
Reply:

:: OPN.BAT Usage: OPN Number_Of_Windows
@echo off
for /L %%i in (1 1 9) do if "%1"=="%%i" (
for /L %%j in (1 1 %1) do start "" cmd
goto :EOF
)
echo. Invalid number of windows: %1
pause
:: End_Of_Batch


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows XP Forum Home


Sponsored links

Ads by Google


Results for: Batch file to open multiple dos pro

BATCH FILES IN XP? www.computing.net/answers/windows-xp/batch-files-in-xp/8304.html

bat file to run multiple ASP pages www.computing.net/answers/windows-xp/bat-file-to-run-multiple-asp-pages/134049.html

copy files to cdrw in dos windows www.computing.net/answers/windows-xp/copy-files-to-cdrw-in-dos-windows/125289.html