Hi all,
I want to replace some file. The file that i want copy is using by window so only one way is copy its before window is running.
How to do? writting script or programming?
Could you give some idea for my work?
Best regards,
Thirith.
Printable View
Hi all,
I want to replace some file. The file that i want copy is using by window so only one way is copy its before window is running.
How to do? writting script or programming?
Could you give some idea for my work?
Best regards,
Thirith.
You can't do anything before Windows starts running.
What file do you need to copy?
Have you tried doing the copy from the command prompt?
I do not want to copy menual i want to make an automation application.
if any body have some idea Please.
Doesn't the task scheduler run before Windows starts up? I think it does, as it can perform a backup on startup, but I'd like to get it confirmed.
I dont think it does as the TS runs in Windows so at best it may start about the same time as Windows does.
What other ways can this be accomplished as there may be a better solution.
scheduler ?Quote:
Originally Posted by dglienna
Control Panel > Schedule Tasks
i think the program that we schedule is running when window is loaded completly.Quote:
Originally Posted by RobDog888
You can also use the AT command to program it. Using the GUI, you can select "When computer starts", so that's why I think it will pre-empt other processes. Why don't you give it a try, and post back?
Quote:
The AT command schedules commands and programs to run on a computer at
a specified time and date. The Schedule service must be running to use
the AT command.
AT [\\computername] [ [id] [/DELETE] | /DELETE [/YES]]
AT [\\computername] time [/INTERACTIVE]
[ /EVERY:date[,...] | /NEXT:date[,...]] "command"
\\computername Specifies a remote computer. Commands are scheduled on the
local computer if this parameter is omitted.
id Is an identification number assigned to a scheduled
command.
/delete Cancels a scheduled command. If id is omitted, all the
scheduled commands on the computer are canceled.
/yes Used with cancel all jobs command when no further
confirmation is desired.
time Specifies the time when command is to run.
/interactive Allows the job to interact with the desktop of the user
who is logged on at the time the job runs.
/every:date[,...] Runs the command on each specified day(s) of the week or
month. If date is omitted, the current day of the month
is assumed.
/next:date[,...] Runs the specified command on the next occurrence of the
day (for example, next Thursday). If date is omitted, the
current day of the month is assumed.
"command" Is the Windows NT command, or batch program to be run.
Did you have any documents about AT comment?
the AT command is old, and doesn't have the startup parameter. You can find the task scheduler under Accessories/System Tool/Scheduled Tasks. You browse for your app, and then set the parameters.
thirith,
You do it the same way Installers do it. Insert an entry in the Win.ini file for it.
Here is another way using the registry: http://support.microsoft.com/?kbid=181345
Here is something else
http://www.windowsnetworking.com/nt/...atips133.shtml
And even more... http://aumha.org/a/loads.php
Thank you all
I will test its.