How can I do simple programming for WindowsXP prof.?

G

Guest

Guest
Archived from groups: microsoft.public.windowsxp.help_and_support (More info?)

I need tasks done such as:

1/ Turn the computer on'off at selected times each day.
2/ Empty certain folders before turning off the computer.

Is there a facility to allow this?
Please help, Frank
 
G

Guest

Guest
Archived from groups: microsoft.public.windowsxp.help_and_support (More info?)

Learn to Script
http://www.microsoft.com/technet/scriptcenter/learnit.mspx

Hey, Scripting Guy!
http://www.microsoft.com/technet/scriptcenter/resources/qanda/default.mspx

--
Carey Frisch
Microsoft MVP
Windows XP - Shell/User
Microsoft Newsgroups

Get Windows XP Service Pack 2 with Advanced Security Technologies:
http://www.microsoft.com/athome/security/protect/windowsxp/choose.mspx

-------------------------------------------------------------------------------------------

"Frank Martin" wrote:

| I need tasks done such as:
|
| 1/ Turn the computer on'off at selected times each day.
| 2/ Empty certain folders before turning off the computer.
|
| Is there a facility to allow this?
| Please help, Frank
 
G

Guest

Guest
Archived from groups: microsoft.public.windowsxp.help_and_support (More info?)

Thanks. But how do I get the script/code into the computer; do I use the
"msconfig" in the 'run' button?


"Carey Frisch [MVP]" <cnfrisch@nospamgmail.com> wrote in message
news:O0buS4xXFHA.228@TK2MSFTNGP12.phx.gbl...
> Learn to Script
> http://www.microsoft.com/technet/scriptcenter/learnit.mspx
>
> Hey, Scripting Guy!
> http://www.microsoft.com/technet/scriptcenter/resources/qanda/default.mspx
>
> --
> Carey Frisch
> Microsoft MVP
> Windows XP - Shell/User
> Microsoft Newsgroups
>
> Get Windows XP Service Pack 2 with Advanced Security Technologies:
> http://www.microsoft.com/athome/security/protect/windowsxp/choose.mspx
>
> -------------------------------------------------------------------------------------------
>
> "Frank Martin" wrote:
>
> | I need tasks done such as:
> |
> | 1/ Turn the computer on'off at selected times each day.
> | 2/ Empty certain folders before turning off the computer.
> |
> | Is there a facility to allow this?
> | Please help, Frank
 

frodo

Distinguished
Apr 26, 2003
257
0
18,780
Archived from groups: microsoft.public.windowsxp.help_and_support (More info?)

Frank Martin <paul@colonel.com.au> wrote:
> Thanks. But how do I get the script/code into the computer; do I use the
> "msconfig" in the 'run' button?

no. if you want the script to run at every startup, put it (or even
better a shortcut to it) into the StartUp folder (on the start menu; there
is a seperate startup folder for each user account, plus the one in the
All Users account, which natuarally effects all users; choose
appropriately); look in .../Documents and Settings/USERNAME/Start
Menu/Programs/Startup/...

for shutdown, XP PRO (not home) can run a shutdown script; use Group
Policy to set it up (search in help and support for info on "shutdown
script").

for periodic scripts, use Task Scheduler to specify when the script
should run.

BTW, Batch files (.bat extension) are still viable in XP, tho they are not
as powerful as scripts (.wsf/.csh/.vbs/.jss). But they are easier to
learn. they are especially practical for doing simple things like starting
a series of programs running at once (via the START command). If you have
XP Pro, search in Help and Support for "command-line reference".
Unfortuanately this section of H&S is not included in XP Home, but this
link has it online:

http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntcmds.mspx
 
G

Guest

Guest
Archived from groups: microsoft.public.windowsxp.help_and_support (More info?)

<frodo@theshire.org> wrote in message
news:11944t7bhg5ahb2@corp.supernews.com...
> Frank Martin <paul@colonel.com.au> wrote:
>> Thanks. But how do I get the script/code into the computer; do I use the
>> "msconfig" in the 'run' button?
>
> no. if you want the script to run at every startup, put it (or even
> better a shortcut to it) into the StartUp folder (on the start menu; there
> is a seperate startup folder for each user account, plus the one in the
> All Users account, which natuarally effects all users; choose
> appropriately); look in .../Documents and Settings/USERNAME/Start
> Menu/Programs/Startup/...
>
> for shutdown, XP PRO (not home) can run a shutdown script; use Group
> Policy to set it up (search in help and support for info on "shutdown
> script").
>
> for periodic scripts, use Task Scheduler to specify when the script
> should run.
>
> BTW, Batch files (.bat extension) are still viable in XP, tho they are not
> as powerful as scripts (.wsf/.csh/.vbs/.jss). But they are easier to
> learn. they are especially practical for doing simple things like starting
> a series of programs running at once (via the START command). If you have
> XP Pro, search in Help and Support for "command-line reference".
> Unfortuanately this section of H&S is not included in XP Home, but this
> link has it online:
>
> http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntcmds.mspx
>

Many thanks; this will get me started.
Regards, Frank