Computing.Net > Forums > Programming > Cmd help

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.

Cmd help

Reply to Message Icon

Name: 1NiteStand
Date: March 8, 2007 at 20:15:50 Pacific
OS: Windows Xp Media Center
CPU/Ram: 1 GB
Product: HP
Comment:

Hello,
I really need some help, i am a total noob on msdos and the cmd prompt. i was just wondering if anyone could teach me or make a file where i can execute the cmd "ipconfig /release" and then my computer will go into "stand by mode" and then cmd.exe exits all into one file u can simply double click. this would mean a lot to me. thanks guys!



Sponsored Link
Ads by Google

Response Number 1
Name: IVO
Date: March 9, 2007 at 02:33:50 Pacific
Reply:

@Echo Off
IPConfig /Release
ShutDown -l

Copy the above three lines into NotePad and save as MyShut.bat. Create a shortcut on your desktop to the previous saved file and you are done.


0

Response Number 2
Name: 1NiteStand
Date: March 9, 2007 at 20:14:53 Pacific
Reply:

o sweet i will test rite now


0

Response Number 3
Name: 1NiteStand
Date: March 9, 2007 at 20:19:30 Pacific
Reply:

ok, so i put the following 3 lines in notepad:

@Echo Off
IPConfig /Release
ShutDown -l

and then i saved it as ShutDown.bat, i also put the save as type to All files instead of txt. but all it does it spam and repeat continuously release my ip. keeps on saying my ip address has already been released and doesnt go into stand by mode


0

Response Number 4
Name: IVO
Date: March 10, 2007 at 02:54:11 Pacific
Reply:

Never save a batch with the name of an existing command! Naming your batch ShutDown.bat leads you to a loop as when the third line of script is executed the batch itself is recalled instead of the ShutDown -l comand that puts your PC in standby mode.

So rename it as e.g. PCShut.bat and retry.



0

Response Number 5
Name: 1NiteStand
Date: March 10, 2007 at 13:16:49 Pacific
Reply:

K, so i named it as PC_Shut_Down.bat. but all it did was ipconfig /release and then logged me off. i want it to go into standby mode not log me off. Stand by mode is when ur comp shuts down but when u press a key on the keyboard, it immediately loads ur computer as if u just turned ur monitor on. so all the fanns turn off and that but if u move the mouse or press keyboard the computer turns on and u can use it immediately


0

Related Posts

See More



Response Number 6
Name: IVO
Date: March 10, 2007 at 14:06:32 Pacific
Reply:

Check your in-box


0

Response Number 7
Name: 1NiteStand
Date: March 12, 2007 at 21:10:39 Pacific
Reply:

is that a virus. im scared. i think i reported that email. lol can't u just tell me how to do it?


0

Response Number 8
Name: IVO
Date: March 13, 2007 at 04:12:12 Pacific
Reply:

I'm afraid you can't trust me, but if you follow the below instructions and links you'll get your target.

First read this article from *Microsoft* that proves PsShutDown is not a virus

http://www.microsoft.com/technet/sy...

Then download the utility from

http://www.pcworld.com/downloads/fi...

Extract PsShutDown from the .zip and save in C:\Windows\system32 or in the same folder holding your batch.

Replace the line

ShutDown -l

with

PsShutDown -d -t 0

Run and be aware that to resume operation you have to press any key as the mouse is sometime not sensed.

And remember what Dr. Quatermass said:

"An experiment is aimed to discover the unknown... and it may be a risk."


0

Response Number 9
Name: 1NiteStand
Date: March 13, 2007 at 19:34:24 Pacific
Reply:

i dont like ur little quote there at the end =\. but i dont get why i have to dload this file anyway. isnt there a cmd on windows for standby mode?


0

Response Number 10
Name: IVO
Date: March 14, 2007 at 03:48:02 Pacific
Reply:

No, there is no switch to enter standby mode for the native XP ShutDown.exe command line, at prompt type shutdown to see the available options reported by the on-line help. This is why you have to relay upon a third party utility. To download from a well known site is common practice and is at no risk.

The same difference between walking along the Fifth Street in NYC and a trip to the Bronx.

About my little quote: without a bit of curiosity (involving hazard) today we wouldn't enjoy electric power, cars, steam, ISS and cell phones... by the way I hate cell phones.

So, as far as I know, you have no other chances, sorry.


0

Response Number 11
Name: IVO
Date: March 15, 2007 at 02:42:27 Pacific
Reply:

...Walking along the Fifth Avenue...

of course, as streets may be risky in NYC!


0

Response Number 12
Name: 1NiteStand
Date: March 15, 2007 at 16:44:06 Pacific
Reply:

wat?


0

Response Number 13
Name: IVO
Date: March 16, 2007 at 07:04:10 Pacific
Reply:

This thread began on March 08, 2007.

Since that day all about the issue was posted and explained, stated the request is simple in nature. So now there are two choices only:

1- Follow the tips posted and get your system enjoys the functionality wished;

2- Give up or look for another site that may disclose the hidden knowledge.

My know-how and tips on the subject are exausted, so good luck and bye.


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

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


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Cmd help

cmd help www.computing.net/answers/programming/cmd-help/19175.html

Help coding a batch file www.computing.net/answers/programming/help-coding-a-batch-file/17125.html

windows xp batch file, edit ....... www.computing.net/answers/programming/windows-xp-batch-file-edit-/9278.html