| | I would like to know how to create a batch file that shuts down the computer or it can be done through regedit -vikas sinha |
| Nov 23, 2009 |
Hello,
I did a Google search to find some batch codes to specifically and only Save/force a shut down of a specific Excel file name and re-open the same Excel workbook. Can someone help out please ? Excel will freeeze on some occasions and I have a On Error in VBA module, so when it does error, it needs to shutodown and re-open. I can take care of the macro when the workbook opens again, but not sure how a batch file can automatically do the shutdown and re-open task. Thanks. 1) Does this work on XP Home or tablet/media center edition? 2) Is there something for W2k or Vista? 3) Can you shutdown everybody in the network - what are the setting that have to be setup on the other PC's - services, permissions, etc.? 4) I've tried created shorcuts which could be copied to clients with little success - is there a 3rd party program which can make shortcuts for different windows versions? 5) Is there a way to make the key shorcuts CTRL + ALT + ?? to a file.reg that can be added when needed and removed afterwards? 6) How about logoff current user, and take screenshots? 6) How about has anyone tried creating the batch files, installed them remotely via .reg files, and created scheduled tasks to implement them? Well I don't know where I'm getting at - just thinking out loud. But here is some homework for you. Let me know if you have any success. If I don't have anything to do this week I'll look into it. Levimage
what about one of the scripting engines.... like VBScript???
what about one of the scripting engines.... like VBScript??? Yes, whatever works, but how does it work ? Some of us are no bertter than recording a macro and some tweaks thereafter, and to be honest, that's too much !
I need to create a batch file to force a shut down on some servers. Once the shutdown is run, then I need to ping for the server name until it comes up timed out or unreachable, then send me an email informing that this is complete. Anyone have any thoughts?
-crzyjim How to shutdown a XP Pro computer when you are connected using RDC (Remote Desktop Connection) using a batch file or RPC (Remote Procedure Command) This is useful if you can't get to the computer but have remote access to the computer via a network or the internet. First To show you what you will see at a command prompt (command.com) when you type: "shutdown /?" Without the " " on each end. CODE c:\>shutdown /? Usage: SHUTDOWN [-i | -l | -s | -r | -a] [-f] [-m \\computername] [-t xx] [-c "c omment"] [-d up:xx:yy] No args Display this message (same as -?) -i Display GUI interface, must be the first option -l Log off (cannot be used with -m option) -s Shutdown the computer -r Shutdown and restart the computer -a Abort a system shutdown -m \\computername Remote computer to shutdown/restart/abort -t xx Set timeout for shutdown to xx seconds -c "comment" Shutdown comment (maximum of 127 characters) -f Forces running applications to close without warning -d [u][p]:xx:yy The reason code for the shutdown u is the user code p is a planned shutdown code xx is the major reason code (positive integer less than 256) yy is the minor reason code (positive integer less than 65536) you can write them in a text file like "shutdown.txt" and then save it . now rename the file to "shutdown.txt.bat" . a dilolog box apare and chek it yes.then run that file . you find it intresting.
timed reboot batch file???
Shut Down, Restart, Log Off XP Using A Batch File I am needing a reboot batch file that will reboot the computer after say about 2 hours, I have gotten that far, but what I cant figure out is how to get the message box to pop up right before the comp shuts down instead of having stay up for the entire time that the batch file is set for. Is this possible??? Blaze -Blaze
Backup then shutdown .bat file?
Shut Down, Restart, Log Off XP Using A Batch File I'd like a quick and easy way to automatically save several files to the backup hard drive when shutting down the computer. About six months ago a columnist had the script for a .Bat file and I can't find it now. Thanks. -Flier
You can also play a hilarious prank with this.
>Right click on the Desktop >Choose New >Choose Shortcut >Type "shutdown.exe -s -t 60 -c "THIS COMPUTER HAS DETECTED A VIRUS!" (Without the quotes, 60 is the amount of time before the command initiates so it can be modified and the text in the quotes (the quotes around THIS COMPUTER HAD DETECTED A VIRUS are needed by the way) can be modified. >Once you are finished typing that, click ok >Right click the shortcut on the Desktop >Click Properties >Go to "Change Icon" >A message will appear, just click OK. >Scroll to the Internet Explorer icon. >Select it and click ok. >Click ok. >Now, if you delete the original Internet Explorer Icon, and change the name of your new shortcut to Internet Explorer, you can play a hilarious prank on someone by making them think their computer has a malicious virus! I've done it on my teachers. It's very funny.
Similar Topics
Keywords : Shut Restart Xp Batch File Undocumented Feature Xp
|
![]() Shut Down, Restart, Log Off XP Using A Batch File - Undocumented feature for XP |
Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com