net_user Posted June 25, 2009 Share Posted June 25, 2009 (edited) i have a shortcut in my quicklauch to launch a command prompt.is there anyway i can have it auto populate "ping 192.168.1."then i can just type in the last digits?so i don't have to type in "ping 192.168.1.ect ect" Edited June 25, 2009 by net_user Link to comment Share on other sites More sharing options...
CoffeeFiend Posted June 25, 2009 Share Posted June 25, 2009 copy con p.batping 192.168.1.%1[ctrl]+z, [enter]Now just type:p 123at the command line to ping 192.168.1.123 Link to comment Share on other sites More sharing options...
net_user Posted June 26, 2009 Author Share Posted June 26, 2009 (edited) very cool...thanks!!when i press ctrl+c to terminate the batch file....i have to press yhow do i bypass this?thanks Edited June 26, 2009 by net_user Link to comment Share on other sites More sharing options...
jaclaz Posted June 26, 2009 Share Posted June 26, 2009 try this p.cmd:ping 192.168.1.%1PAUSEEXITjaclaz Link to comment Share on other sites More sharing options...
net_user Posted June 26, 2009 Author Share Posted June 26, 2009 that didn't workim pressing ctrl+c to terminate around the 2nd "request timed out" Link to comment Share on other sites More sharing options...
net_user Posted June 26, 2009 Author Share Posted June 26, 2009 i modified p.batping 192.168.1.%1 -n 1so i only send 1 requestand don't have to be impatient for the time outsthanks Link to comment Share on other sites More sharing options...
Mousum Posted June 26, 2009 Share Posted June 26, 2009 Or you can do what I did.Just create a new shortcut, in type the location of the item, just type "Ping 192.168.1.etc etc" without the quotes, click next, click finish. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now