Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Batch file runs under RDP but not in ICA

Status
Not open for further replies.

faheem74

Technical User
May 7, 2001
12
0
0
CA
Hi All

When i run following line of codes from ICA session it doesnt take user input but if i try the same from RDP session it works fine; will appreciate any suggestion.

Thanx
Faheem


@ECHO OFF
:: Obtaining user input in Windows NT
:: with the use of the FORMAT command


SET INPUT=
CLS
ECHOECHO Enter your BUYER CODE and press ENTER when done.
ECHO Hit ctrl-C to interrupt
ECHOFOR /F "TOKENS=6*" %%A IN ('FORMAT /F:160 A: ^| FIND "..."') DO IF NOT "%%B"=="" (SET INPUT=%%A %%B) ELSE (SET INPUT=%%A)
SET INPUT


Pause
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top