How to make xp perform a task/script? at shutdown/startup? - Page 2 - Techist - Tech Forum

Go Back   Techist - Tech Forum > Computer Software > Microsoft Windows and Software
Click Here to Login
Closed Thread
 
Thread Tools Display Modes
 
Old 09-24-2005, 07:13 PM   #11 (permalink)
Monster Techie
 
Join Date: Jul 2004
Posts: 1,349
Default

Update:

the gpedit.msc worked...

i always forgot what the extention on gpedit was so i forgot to check it.... but i got the task done as so....

created a batch file that first deletes the 'systemfile.bak' then renames the systemfile.exe inuse into systemfile.bak... then copys the systemfile.exe i have in a different location into the system folder... so when it restarts, my file will be inuse everytime even if its modified it will be automatically recopyed every shutdown.

worked likea charm.. thx for the help.
__________________

jolancer is offline  
Old 09-24-2005, 07:43 PM   #12 (permalink)
Junior Techie
 
Join Date: Sep 2005
Posts: 96
Default

Just out of curiosity jolancer, what are you doing?
__________________

__________________
<A HREF=\"http://www.StudioMtec.com\" target=\"_blank\"><img border=\"0\" img src=\"http://i34.photobucket.com/albums/d119/mtecavatars/TFsig02.gif\" alt=\"Image hosted by Photobucket.com\" alt=\"www.StudioMtec\"></A>
Rafe is offline  
Old 09-24-2005, 07:46 PM   #13 (permalink)
Junior Techie
 
Join Date: Sep 2005
Posts: 96
Default

Wow, gpedit.msc is pretty cool. There is a lot of stuff in there.

Is there a thread that has an in-depth '.bat' file "how-to"?
__________________
<A HREF=\"http://www.StudioMtec.com\" target=\"_blank\"><img border=\"0\" img src=\"http://i34.photobucket.com/albums/d119/mtecavatars/TFsig02.gif\" alt=\"Image hosted by Photobucket.com\" alt=\"www.StudioMtec\"></A>
Rafe is offline  
Old 09-25-2005, 01:06 AM   #14 (permalink)
Techie Beyond Description
 
Apokalipse's Avatar
 
Join Date: Jun 2003
Location: Melbourne, Australia
Posts: 14,559
Default

some simple commands:
"del [driveletter]:\[path and name]" = delete file in this path
"md [driveletter]:\[path]" = make directory/directories in this path
"rd [driveletter]:\[path]" = remove this directory
"copy [driveletter]:\[source path and name] [driveletter]:\[destination path, and maybe name]" = copy a file from source to destination. if you specify a different name, that's what it will be called when you copy it
"move [driveletter]:\[source path and name] [driveletter]:\[destination path and name]" = move a file to somewhere else
"cd [driveletter]:\[path]" = change the focus to this directory

and there are a whole lot more, but these are the basic ones
__________________
Apokalipse is offline  
Old 09-25-2005, 08:55 AM   #15 (permalink)
Master Techie
 
Join Date: Feb 2004
Posts: 2,172
Send a message via AIM to Win2kpatcher
Default

Yep those are some good key concepts that will get you by in DOS. Run a google for the XCOPY command and all its switches, it is a beautiful thing. Glad to see the GPEDIT worked out for you..I love that console!! Its like having a windows 2003 server with group policy, but FREE!!!..lol.
__________________

Win2kpatcher is offline  
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 04:05 PM.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.