sc0rpi0 Posted January 2, 2008 Share Posted January 2, 2008 I was curious concerning two common switchblade commands. What does the ">nul" do in this command: if not exist ....Documentslogfiles md ....Documentslogfiles >nul What does the"2>&1" do in the command: ipconfig /all >> ....Documentslogfiles%computername%.log 2>&1 Thanks very much. Quote Link to comment Share on other sites More sharing options...
ryanlash Posted January 2, 2008 Share Posted January 2, 2008 as far "> nul" that hides the output of a command, some commands do not respond to @echo off Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.