Sign in with
Sign up | Sign in
Your question

How can I do simple programming for WindowsXP prof.?

Tags:
  • Computers
  • Programming
  • Windows XP
Last response: in Windows XP
Share
Anonymous
May 23, 2005 12:10:41 PM

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

More about : simple programming windowsxp prof

Anonymous
May 23, 2005 12:10:42 PM

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

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

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

--
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/window...

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

"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
Anonymous
May 23, 2005 3:03:40 PM

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:o 0buS4xXFHA.228@TK2MSFTNGP12.phx.gbl...
> Learn to Script
> http://www.microsoft.com/technet/scriptcenter/learnit.m...
>
> Hey, Scripting Guy!
> http://www.microsoft.com/technet/scriptcenter/resources...
>
> --
> 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/window...
>
> -------------------------------------------------------------------------------------------
>
> "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
Related resources
May 23, 2005 9:32:23 PM

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/window...
Anonymous
May 24, 2005 12:16:30 PM

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/window...
>

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