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.
copy file on reboot in xp?
Name: JDawson Date: May 18, 2009 at 15:32:37 Pacific OS: Windows XP Subcategory: General
Comment:
HI, I need this somthing that will replace a system file on reboot. I'm trying to replace a dll that windows uses, and I can't overwrite it when windows is running. I don't want to use a app for it because its going to be my own app that modifyes system files to change the look of the system. So would anyone know if there is a command that will copy and replace a dll on reboot or even a file that i could enter a command into so it will execute before booting? Hope someone can help!!
Name: klint Date: May 19, 2009 at 09:10:30 Pacific
Reply:
I think you will need to write a C or C++ application using the Win32 API MoveFile with the option MOVEFILE_DELAY_UNTIL_REBOOT.
0
Response Number 2
Name: JDawson Date: May 19, 2009 at 10:40:03 Pacific
Reply:
See i'm pretty sure there is a much simpler way of doing this but i have not found a way yet. If you install seven transformation pack (Or Vista transormation Pack) and then run Copy Lock > it will show you the files that are going to be moved. So if i just figure out how it does this i can find a way to implant it in to the setup file. But so far the only way i can think of getting it in the setup file is by using a batch file that launches after the setup.
Summary: Hi, I have a simple script that copies a file to each computer contained in txt file. I'm using the For /f to read the computer names, then I ping the computer and only if it's on the network do I try...
Summary: :) Hi M2Go! I've tried batch with folders D:\Music\test1 and D:\Music\test2 but batch doesn't copy files. Now my batch looks like this: ::== movebigr.bat @echo off cls setlocal for /f %%F in ('dir /s...
Summary: Hello - this was posted on the Windows XP forum and it was suggested I try here. I developed a DLL in Windows 98 using Visual Studio 6. Everything worked okay there. Now I need to run it on a Windows ...