cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

Batch File

Dan_Harlan
1-Newbie

Batch File

I haven't done this exact thing, but you should be able to do it with a
simple batch file that installs a .inf runonce registry key. See:


SHUTDOWN /r /p





Where defrag.bat would look like this:

@ECHO OFF

TITLE System Defrag

COLOR CF

ECHO !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

ECHO !!! DO NOT PROCEED !!!

ECHO !!! SYSTEM MAINTENANCE !!!

ECHO !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

ECHO .

ECHO !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

ECHO !!! SYSTEM ...











This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
0 REPLIES 0
Top Tags