MS-Dos Invisible Pause

September 23, 2010 at 07:24:01
Specs: Windows 7, 2x2.13GHz / 4Gigs
Trying to create a pause that waits for user input to continue, but one that isn't restricted to the classic notification "Press any key to continue . . ."

See More: MS-Dos Invisible Pause

Report •


#1
September 23, 2010 at 07:26:48
And figured it out a few moments later from a poorly worded question elsewhere that I only just noticed.

For future reference:
pause > null


Report •

#2
September 24, 2010 at 06:33:34
Works for DOS but not NT.


=====================================
Helping others achieve escape felicity

M2


Report •

#3
September 24, 2010 at 07:41:22
Works for XP; maybe not 2K?

Report •

Related Solutions

#4
September 24, 2010 at 07:47:50
In 2K you get a file by the name of NULL.


=====================================
Helping others achieve escape felicity

M2


Report •

#5
September 24, 2010 at 09:31:53
The extra 'L' does indeed create a file on xp....

Overcomplicated other solutions(I'm bored):

rem not suggestions just bored...

@for /f %%a in ('pause') do @rem
@pause | @find ""


I'd still just go with one 'L':

pause > nul


Report •

#6
September 24, 2010 at 09:54:00
I think you guys are going about this the wrong way. The answer isn't fewer L's, it's more L's! One more for each run!
@set null=NULL
:Loop
@if exist %null% @set null=%null%L&@goto loop
@pause > %null%


Report •

#7
September 24, 2010 at 09:57:43
You forget to add double NULL when you were finished, now I'm overrun with memory faults!


Edit:

Should say double '\0'....


Report •

Ask Question