|
-
Dec 12th, 2005, 09:03 PM
#1
Thread Starter
Addicted Member
how to copy file before windows running?
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.
-
Dec 13th, 2005, 07:23 AM
#2
Re: how to copy file before windows running?
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?
-
Dec 13th, 2005, 10:11 PM
#3
Thread Starter
Addicted Member
Re: how to copy file before windows running?
I do not want to copy menual i want to make an automation application.
if any body have some idea Please.
-
Dec 13th, 2005, 10:14 PM
#4
Re: how to copy file before windows running?
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.
-
Dec 13th, 2005, 10:18 PM
#5
Re: how to copy file before windows running?
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.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Dec 13th, 2005, 10:42 PM
#6
Thread Starter
Addicted Member
Re: how to copy file before windows running?
 Originally Posted by dglienna
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.
scheduler ?
-
Dec 13th, 2005, 10:44 PM
#7
Re: how to copy file before windows running?
Control Panel > Schedule Tasks
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Dec 13th, 2005, 11:06 PM
#8
Thread Starter
Addicted Member
Re: how to copy file before windows running?
 Originally Posted by RobDog888
Control Panel > Schedule Tasks
i think the program that we schedule is running when window is loaded completly.
-
Dec 13th, 2005, 11:11 PM
#9
Re: how to copy file before windows running?
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?
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.
-
Dec 13th, 2005, 11:25 PM
#10
Thread Starter
Addicted Member
Re: how to copy file before windows running?
Did you have any documents about AT comment?
-
Dec 13th, 2005, 11:38 PM
#11
Re: how to copy file before windows running?
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.
-
Dec 15th, 2005, 02:30 AM
#12
Re: how to copy file before windows running?
thirith,
You do it the same way Installers do it. Insert an entry in the Win.ini file for it.
-
Dec 15th, 2005, 02:49 AM
#13
Re: how to copy file before windows running?
-
Dec 15th, 2005, 02:53 AM
#14
Re: how to copy file before windows running?
-
Dec 15th, 2005, 03:00 AM
#15
Re: how to copy file before windows running?
-
Dec 15th, 2005, 09:55 PM
#16
Thread Starter
Addicted Member
Re: how to copy file before windows running?
Thank you all
I will test its.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|