<![CDATA[Article Comments for Alex Angelopoulos]]>http://www.windowsitpro.com/authors/author/author/5604302/rsscomment/5604302en-USSun, 27 May 2012 07:06:14 GMTSun, 27 May 2012 07:06:14 GMTDefragmenting and Shrinking VMware Workstation Diskshttp://www.windowsitpro.com/article/server-virtualization/defragmenting-shrinking-vmware-workstation-disks-141986#commentsAnchorMon, 23 Apr 2012 23:39:14 GMT
You arereferring that the drive number z ust be not used in the environment -- othetwise I have to change the drive letter for the tmpdrive in the script: set tmpdrive=Z: to for example set tmpdrive=W: But there is no line in the script. Do you have published the wrong script?]]>
rhhMon, 23 Apr 2012 23:39:14 GMThttp://www.windowsitpro.com/article/server-virtualization/defragmenting-shrinking-vmware-workstation-disks-141986#commentsAnchor
Five Points for Good VBScript Stylehttp://www.windowsitpro.com/blog/windows-automation-blog-37/scripting/five-points-for-good-vbscript-style-137483#commentsAnchorSat, 06 Aug 2011 01:26:45 GMT
The above tips are very much useful for the beginners as i am also a fresher in the programming field. Thanks for sharing it.]]>
Jasmine PreitSat, 06 Aug 2011 01:26:45 GMThttp://www.windowsitpro.com/blog/windows-automation-blog-37/scripting/five-points-for-good-vbscript-style-137483#commentsAnchor
What You Need to Know in a Mixed 32-bit and 64-bit Environmenthttp://www.windowsitpro.com/article/internals-and-architecture2/what-you-need-to-know-in-a-mixed-32-bit-and-64-bit-environment-103547#commentsAnchorWed, 21 Jul 2010 10:50:28 GMT
Great informative article Alex !

Kept that one for the toolbox reference drawer.

Regards,
Bret]]>
BennettWed, 21 Jul 2010 10:50:28 GMThttp://www.windowsitpro.com/article/internals-and-architecture2/what-you-need-to-know-in-a-mixed-32-bit-and-64-bit-environment-103547#commentsAnchor
Tool Time: WinDirStat Simplifies Finding Where Your Disk Space Is Goinghttp://www.windowsitpro.com/article/file-management/tool-time-windirstat-simplifies-finding-where-your-disk-space-is-going#commentsAnchorMon, 12 Jul 2010 15:11:35 GMT
I prefer to use Directory Report
No confusing colored blocks
http://www.file-utilities.com
]]>
manMon, 12 Jul 2010 15:11:35 GMThttp://www.windowsitpro.com/article/file-management/tool-time-windirstat-simplifies-finding-where-your-disk-space-is-going#commentsAnchor
Get Hotfix Information Quickly with WMIChttp://www.windowsitpro.com/article/windows-management-instrumentation-wmi/get-hotfix-information-quickly-with-wmic#commentsAnchorThu, 17 Jun 2010 11:15:23 GMT
Thierry, to download the spreadsheet, click the blue Download the Code Here button at the top of the article. You will get a File Download dialog to download 97781.zip. That zip file contains the spreadsheet. If you still are having trouble with the download, please email me at anne.grubb@penton.com and I will send it to you. --Anne Grubb, web & developer editor]]>
Anne GrubbThu, 17 Jun 2010 11:15:23 GMThttp://www.windowsitpro.com/article/windows-management-instrumentation-wmi/get-hotfix-information-quickly-with-wmic#commentsAnchor
Get Hotfix Information Quickly with WMIChttp://www.windowsitpro.com/article/windows-management-instrumentation-wmi/get-hotfix-information-quickly-with-wmic#commentsAnchorThu, 17 Jun 2010 10:02:03 GMT
Download link to the excel spreadsheet doesn’t work
Any idea where we can get it ?]]>
ThierryThu, 17 Jun 2010 10:02:03 GMThttp://www.windowsitpro.com/article/windows-management-instrumentation-wmi/get-hotfix-information-quickly-with-wmic#commentsAnchor
What You Need to Know in a Mixed 32-bit and 64-bit Environmenthttp://www.windowsitpro.com/article/internals-and-architecture2/what-you-need-to-know-in-a-mixed-32-bit-and-64-bit-environment-103547#commentsAnchorSun, 02 May 2010 00:07:38 GMT
Hi,

for my computer

wmic cpu get name give
Name
Intel(R) Core(TM)2 Duo CPU T9600 @ 2.80GHz

Perhaps to be more accurate
wmic cpu get AddressWidth,DataWidth give
AddressWidth DataWidth
64 64


JP]]>
BlancSun, 02 May 2010 00:07:38 GMThttp://www.windowsitpro.com/article/internals-and-architecture2/what-you-need-to-know-in-a-mixed-32-bit-and-64-bit-environment-103547#commentsAnchor
Get, Set, and Clear Computer Descriptions With Easehttp://www.windowsitpro.com/article/vbscript/get-set-and-clear-computer-descriptions-with-ease#commentsAnchorWed, 03 Mar 2010 09:42:16 GMT
Thanks for fixing the download link so quickly! This tool is very flexible and provides a comprehensive solution to the computer description that is so often overlooked during the pressure to get computers installed on a network. But the computer description becomes important for useability of the network. I also appreciate the coverage of the existing ways to fix the computer description after the fact and how this solves those issues!]]>
JohnWed, 03 Mar 2010 09:42:16 GMThttp://www.windowsitpro.com/article/vbscript/get-set-and-clear-computer-descriptions-with-ease#commentsAnchor
Get, Set, and Clear Computer Descriptions With Easehttp://www.windowsitpro.com/article/vbscript/get-set-and-clear-computer-descriptions-with-ease#commentsAnchorWed, 03 Mar 2010 08:27:16 GMT
Sounds great, but can’t find the download link.]]>
Wed, 03 Mar 2010 08:27:16 GMThttp://www.windowsitpro.com/article/vbscript/get-set-and-clear-computer-descriptions-with-ease#commentsAnchor
Get, Set, and Clear Computer Descriptions With Easehttp://www.windowsitpro.com/article/vbscript/get-set-and-clear-computer-descriptions-with-ease#commentsAnchorTue, 02 Mar 2010 17:02:43 GMT
Sounds great, but can’t find the download link.]]>
JohnTue, 02 Mar 2010 17:02:43 GMThttp://www.windowsitpro.com/article/vbscript/get-set-and-clear-computer-descriptions-with-ease#commentsAnchor
What You Need to Know to Start Using PowerShell's Personal Profile Scriptshttp://www.windowsitpro.com/article/windows-powershell/what-you-need-to-know-to-start-using-powershell-s-personal-profile-scripts#commentsAnchorMon, 22 Feb 2010 05:59:01 GMT
-]]>
OsvaldoMon, 22 Feb 2010 05:59:01 GMThttp://www.windowsitpro.com/article/windows-powershell/what-you-need-to-know-to-start-using-powershell-s-personal-profile-scripts#commentsAnchor
Making a Logon Script Expirehttp://www.windowsitpro.com/article/vbscript/making-a-logon-script-expire#commentsAnchorTue, 05 Jan 2010 13:11:33 GMT
I’ve always used the yyyy-MM-dd format in everything. It’s understood [And it’s easier for sorting purposes.] When you get something like 1-5-2010 and you are in July, is that January 5th or May 1st?]]>
EdTue, 05 Jan 2010 13:11:33 GMThttp://www.windowsitpro.com/article/vbscript/making-a-logon-script-expire#commentsAnchor
Enable Remote Desktop Over a Network On Demandhttp://www.windowsitpro.com/article/windows-shell-bat-and-cmd/enable-remote-desktop-over-a-network-on-demand#commentsAnchorTue, 24 Nov 2009 15:45:30 GMT
At RemoteDektopON remove GOTO Prompt and add start mstsc /v:%TargetMachine% /w:800 /h:600 this will bring you to the username and password you can change the screen res to what ever you require. Andy]]>
ANDREWTue, 24 Nov 2009 15:45:30 GMThttp://www.windowsitpro.com/article/windows-shell-bat-and-cmd/enable-remote-desktop-over-a-network-on-demand#commentsAnchor
Enable Remote Desktop Over a Network On Demandhttp://www.windowsitpro.com/article/windows-shell-bat-and-cmd/enable-remote-desktop-over-a-network-on-demand#commentsAnchorTue, 24 Nov 2009 13:35:21 GMT
This is good, I think I will add some more to it, so that I can open the RD session from the same cmd screen, I will post back when complete Andy]]>
ANDREWTue, 24 Nov 2009 13:35:21 GMThttp://www.windowsitpro.com/article/windows-shell-bat-and-cmd/enable-remote-desktop-over-a-network-on-demand#commentsAnchor
Tool Time: WinDirStat Simplifies Finding Where Your Disk Space Is Goinghttp://www.windowsitpro.com/article/file-management/tool-time-windirstat-simplifies-finding-where-your-disk-space-is-going#commentsAnchorTue, 24 Nov 2009 04:23:58 GMT
Very useful, presenting case for use within organisation to my team leader.]]>
IkeTue, 24 Nov 2009 04:23:58 GMThttp://www.windowsitpro.com/article/file-management/tool-time-windirstat-simplifies-finding-where-your-disk-space-is-going#commentsAnchor
Tool Time: Portable Text Editing with PrimalPadhttp://www.windowsitpro.com/article/tips/tool-time-portable-text-editing-with-primalpad#commentsAnchorTue, 08 Sep 2009 17:34:54 GMT
You can do the same with EditPadLite. They give instructions on making it portable.]]>
EdTue, 08 Sep 2009 17:34:54 GMThttp://www.windowsitpro.com/article/tips/tool-time-portable-text-editing-with-primalpad#commentsAnchor
Create Site-Specific Printer Mappings for Mobile Usershttp://www.windowsitpro.com/article/vbscript/create-site-specific-printer-mappings-for-mobile-users#commentsAnchorTue, 21 Apr 2009 21:19:30 GMT
Everyone who encountered the "subscript out of range" error on XP-level systems, thanks for commenting. We’ve tracked it down to a specific case where an unbound adapter will have a bogus IP address and no matching subnet mask. I’ll be testing an updated version of the code and should have a repost ready tomorrow.]]>
AlexTue, 21 Apr 2009 21:19:30 GMThttp://www.windowsitpro.com/article/vbscript/create-site-specific-printer-mappings-for-mobile-users#commentsAnchor
Create Site-Specific Printer Mappings for Mobile Usershttp://www.windowsitpro.com/article/vbscript/create-site-specific-printer-mappings-for-mobile-users#commentsAnchorTue, 21 Apr 2009 14:50:56 GMT
ckckhc and rurick, it looks like there may be a special edge case that causes problems for both of you, where a machine ends up with a non-null but blank IP address bound to an adapter with IP enabled. Unfortunately, although I think I can fix the problem, I can’t replicate the problem to test it. Could either of you try contacting me directly? Use aka(at)mvps(dot)org as the address, substituting @ for (at) and . for (dot), of course.]]>
AlexTue, 21 Apr 2009 14:50:56 GMThttp://www.windowsitpro.com/article/vbscript/create-site-specific-printer-mappings-for-mobile-users#commentsAnchor
Create Site-Specific Printer Mappings for Mobile Usershttp://www.windowsitpro.com/article/vbscript/create-site-specific-printer-mappings-for-mobile-users#commentsAnchorMon, 06 Apr 2009 13:52:56 GMT
I’m seeing the same out of range errors as well on xp pro running from the command prompt with cscript to test outside of a login script.]]>
RoyMon, 06 Apr 2009 13:52:56 GMThttp://www.windowsitpro.com/article/vbscript/create-site-specific-printer-mappings-for-mobile-users#commentsAnchor
Create Site-Specific Printer Mappings for Mobile Usershttp://www.windowsitpro.com/article/vbscript/create-site-specific-printer-mappings-for-mobile-users#commentsAnchorTue, 31 Mar 2009 17:41:52 GMT
??I’m still having the same problem "out of range: ’0’ in callout E." I’m using the updated 101230.zip file. Testing on Windows XP Pro]]>
KTue, 31 Mar 2009 17:41:52 GMThttp://www.windowsitpro.com/article/vbscript/create-site-specific-printer-mappings-for-mobile-users#commentsAnchor
Create Site-Specific Printer Mappings for Mobile Usershttp://www.windowsitpro.com/article/vbscript/create-site-specific-printer-mappings-for-mobile-users#commentsAnchorMon, 16 Mar 2009 12:44:37 GMT
The script AddressBasedPrinter.vbs has now been updated and loaded into the 101230.zip file. You can access this file by clicking the "Download the Code Here" button at the top of the page. Karen Bemowski, senior editor Windows IT Pro/SQL Server Magazine]]>
KarenMon, 16 Mar 2009 12:44:37 GMThttp://www.windowsitpro.com/article/vbscript/create-site-specific-printer-mappings-for-mobile-users#commentsAnchor
Create Site-Specific Printer Mappings for Mobile Usershttp://www.windowsitpro.com/article/vbscript/create-site-specific-printer-mappings-for-mobile-users#commentsAnchorFri, 13 Mar 2009 12:36:41 GMT
Stuart, the script as posted doesn’t correctly handle IPv6 addresses - something I didn’t notice since I had IPv6 disabled on my Vista system at the time. The simplest fix is to insert a test for a contained ":" in the IP address. Currently, line 14 of the script reads: networkIDs(NetworkID(Nac.IPAddress(N), Nac.IPSubnet(N))) = vbNullString Replace it with the following 3 lines: If InStr(Nac.IPAddress(N), ":") = 0 Then networkIDs(NetworkID(Nac.IPAddress(N), Nac.IPSubnet(N))) = vbNullString End If I’ll try to get an updated version of the script up shortly; thanks for catching this so quickly!]]>
AlexFri, 13 Mar 2009 12:36:41 GMThttp://www.windowsitpro.com/article/vbscript/create-site-specific-printer-mappings-for-mobile-users#commentsAnchor
Create Site-Specific Printer Mappings for Mobile Usershttp://www.windowsitpro.com/article/vbscript/create-site-specific-printer-mappings-for-mobile-users#commentsAnchorTue, 10 Mar 2009 15:57:38 GMT
Error that subscript is out of range: ’0’ in callout E. Thoughts?]]>
StuartTue, 10 Mar 2009 15:57:38 GMThttp://www.windowsitpro.com/article/vbscript/create-site-specific-printer-mappings-for-mobile-users#commentsAnchor
Customize the Size of Taskbar-Button Groupshttp://www.windowsitpro.com/article/vbscript/customize-the-size-of-taskbar-button-groups#commentsAnchorFri, 21 Nov 2008 03:02:48 GMT
Since some time, I use a little tool called Taskbar Shuffle. It let’s you reorder the taskbar and tray buttons, close tasks by clicking the middle-mousebutton, ... You can find it on http://www.freewebs.com/nerdcave/taskbarshuffle.htm There’s just one small drawback: the "funny" messages in the dialogboxes of the program are annoying and destroy the credibility of the program.]]>
GerdyFri, 21 Nov 2008 03:02:48 GMThttp://www.windowsitpro.com/article/vbscript/customize-the-size-of-taskbar-button-groups#commentsAnchor
Use the .NET WebClient Class in PowerShell Scripts to Access Web Datahttp://www.windowsitpro.com/article/windows-powershell/use-the-net-webclient-class-in-powershell-scripts-to-access-web-data#commentsAnchorMon, 27 Oct 2008 02:58:55 GMT
there is not any thing]]>
jeffMon, 27 Oct 2008 02:58:55 GMThttp://www.windowsitpro.com/article/windows-powershell/use-the-net-webclient-class-in-powershell-scripts-to-access-web-data#commentsAnchor
Use the .NET WebClient Class in PowerShell Scripts to Access Web Datahttp://www.windowsitpro.com/article/windows-powershell/use-the-net-webclient-class-in-powershell-scripts-to-access-web-data#commentsAnchorMon, 27 Oct 2008 02:58:52 GMT
there is not any thing]]>
jeffMon, 27 Oct 2008 02:58:52 GMThttp://www.windowsitpro.com/article/windows-powershell/use-the-net-webclient-class-in-powershell-scripts-to-access-web-data#commentsAnchor
How to Find Constants and Their Valueshttp://www.windowsitpro.com/article/vbscript/how-to-find-constants-and-their-values#commentsAnchorWed, 15 Oct 2008 17:02:48 GMT
Hi tnbankers, I’m wondering whether you were able to access the entire article. It’s three pages long and presents three solutions, the best of which is Export-Enum.wsf. With this solution, all you need to do is provide an object’s programmatic identifier (ProgID) or the name of the library in which the object resides to get that object’s constants and associated values. Typically, you need to be a VIP subscriber to access this article. However, in case you aren’t, I made it open to the public through Nov. 15. I hope the article provides the information you’re looking for! Karen Bemowski, senior editor Windows IT Pro, SQL Server Magazine]]>
KarenWed, 15 Oct 2008 17:02:48 GMThttp://www.windowsitpro.com/article/vbscript/how-to-find-constants-and-their-values#commentsAnchor
How to Find Constants and Their Valueshttp://www.windowsitpro.com/article/vbscript/how-to-find-constants-and-their-values#commentsAnchorWed, 15 Oct 2008 13:23:24 GMT
totally pointless! the title suggests I’ll find constants...the article tells me how to open a text file. Very frustrating! It would appear your site is yet another waste of time.]]>
SteveWed, 15 Oct 2008 13:23:24 GMThttp://www.windowsitpro.com/article/vbscript/how-to-find-constants-and-their-values#commentsAnchor
Repair Network Connections from the Command Linehttp://www.windowsitpro.com/article/scripting-languages/repair-network-connections-from-the-command-line#commentsAnchorSun, 28 Sep 2008 07:17:05 GMT
THAT is cool! But where is the compiled script?]]>
PAT-KEONESun, 28 Sep 2008 07:17:05 GMThttp://www.windowsitpro.com/article/scripting-languages/repair-network-connections-from-the-command-line#commentsAnchor
Repair Network Connections from the Command Linehttp://www.windowsitpro.com/article/scripting-languages/repair-network-connections-from-the-command-line#commentsAnchorSat, 27 Sep 2008 09:29:45 GMT
Exellent Script]]>
RobertSat, 27 Sep 2008 09:29:45 GMThttp://www.windowsitpro.com/article/scripting-languages/repair-network-connections-from-the-command-line#commentsAnchor
Controlling Removable Storage Accesshttp://www.windowsitpro.com/article/group-policy/controlling-removable-storage-access#commentsAnchorMon, 18 Aug 2008 03:09:46 GMT
cxcx]]>
dddMon, 18 Aug 2008 03:09:46 GMThttp://www.windowsitpro.com/article/group-policy/controlling-removable-storage-access#commentsAnchor
Use Cmd.exe's Start Command to Simplify Setup Automationhttp://www.windowsitpro.com/article/deployment/use-cmd-exe-s-start-command-to-simplify-setup-automation#commentsAnchorMon, 04 Aug 2008 11:18:22 GMT
@glenmcl--it’s loaded now. You can click the sidebar link beneath the title above or go to this URL: http://windowsitpro.com/articles/articleid/99675/Use_Batch_Files_to_Automate_Application_Installation.html]]>
CarolineMon, 04 Aug 2008 11:18:22 GMThttp://www.windowsitpro.com/article/deployment/use-cmd-exe-s-start-command-to-simplify-setup-automation#commentsAnchor
Use Cmd.exe's Start Command to Simplify Setup Automationhttp://www.windowsitpro.com/article/deployment/use-cmd-exe-s-start-command-to-simplify-setup-automation#commentsAnchorFri, 01 Aug 2008 12:12:32 GMT
It is being loaded August 1 or August 4. I hope you’ll look again and let us know your thoughts about the articles! Caroline Marwitz]]>
CarolineFri, 01 Aug 2008 12:12:32 GMThttp://www.windowsitpro.com/article/deployment/use-cmd-exe-s-start-command-to-simplify-setup-automation#commentsAnchor
Customize the Size of Taskbar-Button Groupshttp://www.windowsitpro.com/article/vbscript/customize-the-size-of-taskbar-button-groups#commentsAnchorThu, 31 Jul 2008 23:27:39 GMT
This is great - thank you.]]>
DanielThu, 31 Jul 2008 23:27:39 GMThttp://www.windowsitpro.com/article/vbscript/customize-the-size-of-taskbar-button-groups#commentsAnchor
Use Cmd.exe's Start Command to Simplify Setup Automationhttp://www.windowsitpro.com/article/deployment/use-cmd-exe-s-start-command-to-simplify-setup-automation#commentsAnchorWed, 30 Jul 2008 09:28:07 GMT
The printed article contains an author’s note that there is a simpler method that he has since crafted which is discussed in InstantDoc ID 99675. That doc does not seem to exist?]]>
GlenWed, 30 Jul 2008 09:28:07 GMThttp://www.windowsitpro.com/article/deployment/use-cmd-exe-s-start-command-to-simplify-setup-automation#commentsAnchor
How to Access an Environment Variable Without Writing a Complete PowerShell Statementhttp://www.windowsitpro.com/article/windows-powershell/how-to-access-an-environment-variable-without-writing-a-complete-powershell-statement#commentsAnchorThu, 19 Jun 2008 09:06:30 GMT
very helpful.]]>
VinceThu, 19 Jun 2008 09:06:30 GMThttp://www.windowsitpro.com/article/windows-powershell/how-to-access-an-environment-variable-without-writing-a-complete-powershell-statement#commentsAnchor
Creating Date and Time Stampshttp://www.windowsitpro.com/article/vbscript/creating-date-and-time-stamps#commentsAnchorWed, 11 Jun 2008 21:38:03 GMT
OlliK - The approach you show is definitely more compact, but there actually is a case where it could be a problem due to the discrete amount of time it takes for each evaluation of Now(). If you’re generating a date/time stamp right around the time when the year, month, day, hour, or minute is about to increment, you can get a bad value generated. It’s going to be very rare of course, but it could be bizarre in the worst possible cases. As an example, suppose the code is running at approximately midnight on 2008 December 31. By evaluating Now() once, you get a specific value that may turn out to be 20081231 235959 or, if run milliseconds later, 20090101 000000 The first one is just before the beginning of the year, the second is just after the beginning of the year. However, with multiple evaluations of Now(), wDate might be evaluated before midnight as 20081231 and wTime right after midnight, giving you 20081231 000000 which is 24 hours earlier! It could even happen within a line of code; VBScript evaluates right to left, so if the date changes immediately after the day is evaluated, then you would get 20091231 000000 which is almost a year off. The code runs _very_ fast on modern machines so I would be very surprised to see this happen, but the mere possibility would qualify as a bug. That’s why I use the longer way that evaluates Now() once.]]>
AlexWed, 11 Jun 2008 21:38:03 GMThttp://www.windowsitpro.com/article/vbscript/creating-date-and-time-stamps#commentsAnchor
Creating Date and Time Stampshttp://www.windowsitpro.com/article/vbscript/creating-date-and-time-stamps#commentsAnchorWed, 11 Jun 2008 21:20:40 GMT
Jim - These look like they work on Vista with default US date/time settings as well. Unfortunately, I found the cmd approach doesn’t work very well if the settings are already in an ISO8601 form (although it _should_ be possible to make a batch file that uses reg.exe to check the registry for the current date settings format and base parsing on that).]]>
AlexWed, 11 Jun 2008 21:20:40 GMThttp://www.windowsitpro.com/article/vbscript/creating-date-and-time-stamps#commentsAnchor
Smart WSH Script Terminationhttp://www.windowsitpro.com/article/windows-script-host-wsh/smart-wsh-script-termination#commentsAnchorMon, 09 Jun 2008 11:35:06 GMT
Can’t get to read this article, seems to be a trap to collect emails]]>
klarbard Mon, 09 Jun 2008 11:35:06 GMThttp://www.windowsitpro.com/article/windows-script-host-wsh/smart-wsh-script-termination#commentsAnchor
Creating Date and Time Stampshttp://www.windowsitpro.com/article/vbscript/creating-date-and-time-stamps#commentsAnchorFri, 06 Jun 2008 13:48:56 GMT
The standard gives several formats, and I find the format
T:: more readable. Unfortunately one has to define the format in the given language. But it is defently worth the effort.]]>NielsFri, 06 Jun 2008 13:48:56 GMThttp://www.windowsitpro.com/article/vbscript/creating-date-and-time-stamps#commentsAnchorCreating Date and Time Stampshttp://www.windowsitpro.com/article/vbscript/creating-date-and-time-stamps#commentsAnchorFri, 06 Jun 2008 13:42:37 GMT
what about an even easier approach? wDate = CStr(Year(Now) * 10000 + Month(Now) * 100 + Day(Now)) wTime = Right(CStr(1000000 + Hour(Now) * 10000 + Minute(Now) * 100 + Second(Now)), 6) to get an ISO date in a batch file just put the mathematical part of the aforementioned expressions (ie without the string functions) in a vbscript file and return the result with WScript.Quit, like WScript.Quit(Year(Now) * 10000 + Month(dtNow) * 100 + Day(Now)) and retrieve the value by using %ErrorLevel%]]>
OliverFri, 06 Jun 2008 13:42:37 GMThttp://www.windowsitpro.com/article/vbscript/creating-date-and-time-stamps#commentsAnchor
Creating Date and Time Stampshttp://www.windowsitpro.com/article/vbscript/creating-date-and-time-stamps#commentsAnchorFri, 06 Jun 2008 13:29:56 GMT
Without knowing it had a definition, I’ve been using ISO 8601 format for some time for just the advantages you listed, in particular that this format is easy to understand and read, and that it sorts very nicely. From a CMD file, you can create an ISO 8601 compatible string for the date by using this: FOR /F "tokens=2-4 delims=/ " %%f in ("%date%") do set ISO9601Date=%%h%%f%%g Note that I’m using two delimiters here, a forward slash AND a space, the space is necessary to lop off the day of the week from the front of the date variable. and for time, use FOR /F "tokens=1-3 delims=:." %%f in ("%time: =0%") do set ISO9601Time=%%f%%g%%h The %time: =0% (after the colon it is ’space equals 0’ changes all the blanks in the time variable to 0, taking care of the single digit hour issue (These were prepared on Windows XP Pro using English-US regional settings. Your configuration may require this code to be tweaked) Jim]]>
JimFri, 06 Jun 2008 13:29:56 GMThttp://www.windowsitpro.com/article/vbscript/creating-date-and-time-stamps#commentsAnchor
Smart WSH Script Terminationhttp://www.windowsitpro.com/article/windows-script-host-wsh/smart-wsh-script-termination#commentsAnchorFri, 30 May 2008 12:21:42 GMT
The article is incomplete...]]>
skykeeper Fri, 30 May 2008 12:21:42 GMThttp://www.windowsitpro.com/article/windows-script-host-wsh/smart-wsh-script-termination#commentsAnchor
Enable Remote Desktop Over a Network On Demandhttp://www.windowsitpro.com/article/windows-shell-bat-and-cmd/enable-remote-desktop-over-a-network-on-demand#commentsAnchorTue, 06 May 2008 07:05:25 GMT
This is impressive, Steve. I had considered integrating everything into one script, but didn’t for one simple reason: I was too lazy. :) The prompting was a nice touch as well. I normally write scripts so that they work quietly as part of a toolchain, but your technique is much more appropriate since the script is really about a task performed for a single machine during remote support.]]>
AlexTue, 06 May 2008 07:05:25 GMThttp://www.windowsitpro.com/article/windows-shell-bat-and-cmd/enable-remote-desktop-over-a-network-on-demand#commentsAnchor
Enable Remote Desktop Over a Network On Demandhttp://www.windowsitpro.com/article/windows-shell-bat-and-cmd/enable-remote-desktop-over-a-network-on-demand#commentsAnchorFri, 02 May 2008 14:44:25 GMT
::RemoteDesktopTool.bat Built by Steve Signorelli. ::Inspired by —Alex K. Angelopoulos and InstantDoc #98551 @ECHO OFF :Prompt ::Prompting technician for machine name/IP which to connect SET /P TargetMachine=Please enter the machine name or IP address: CLS ECHO Remote Desktop Check on \\%TargetMachine% :Menu ECHO. ECHO 1. Remote Desktop Check (Enabled 0x0 or disabled 0x1) ECHO 2. Remote Desktop On (0x0) ECHO 3. Remote Desktop Off (0x1) set choice= set /p choice=Please type in your choice and press enter. if not ’%choice%’==’ set choice=%choice:~0,1% if ’%choice%’==’1’ goto RemoteDesktopCheck if ’%choice%’==’2’ goto RemoteDesktopOn if ’%choice%’==’3’ goto RemoteDesktopOff ECHO "%choice%" is not valid please try again ECHO. goto Menu ::Listing 3: CheckRD.cmd :RemoteDesktopCheck @reg query "\\%TargetMachine%\HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections GOTO Prompt ::Listing 4: RDOn.cmd :RemoteDesktopOn @reg add "\\%TargetMachine%\HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f GOTO Prompt ::Listing 5: RDOff.cmd :RemoteDesktopOff @reg add "\\%TargetMachine%\HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 1 /f GOTO Prompt]]>
SteveFri, 02 May 2008 14:44:25 GMThttp://www.windowsitpro.com/article/windows-shell-bat-and-cmd/enable-remote-desktop-over-a-network-on-demand#commentsAnchor
Smart WSH Script Terminationhttp://www.windowsitpro.com/article/windows-script-host-wsh/smart-wsh-script-termination#commentsAnchorTue, 01 Apr 2008 08:11:44 GMT
NA]]>
AllenTue, 01 Apr 2008 08:11:44 GMThttp://www.windowsitpro.com/article/windows-script-host-wsh/smart-wsh-script-termination#commentsAnchor
Using URLs in Batch Fileshttp://www.windowsitpro.com/article/server-management/using-urls-in-batch-files#commentsAnchorThu, 13 Mar 2008 11:48:25 GMT
I noticed that in IE 6 that if I ran a batch file to open multiple URLs, like this: start http://www.msnbc.msn.com/ start http://www.cnn.com/ the result was that one IE window was open, displaying the last website (cnn.com in this example). I.e., it was reusing the window, even though the IE Option "Reuse windows for launching shortcuts" is not checked. But what I wanted was to open each URL in the batch file in a separate window. The solution (thanks to Alex) was to add a small delay between each START command. I used the UnxUtils sleep.exe, and using a 1 second delay caused this to work as desired.]]>
MARKThu, 13 Mar 2008 11:48:25 GMThttp://www.windowsitpro.com/article/server-management/using-urls-in-batch-files#commentsAnchor
The Trick to Installing Fonts with a VBScript or PowerShell Scripthttp://www.windowsitpro.com/article/vbscript/the-trick-to-installing-fonts-with-a-vbscript-or-powershell-script#commentsAnchorTue, 04 Mar 2008 09:47:32 GMT
Hi Alex, Thanks for writing that -- I wish I’d seen it last week. I had three machines that I needed to install about 250 fonts. I copied the fonts to the machines, but the fonts didn’t show in their list boxes (all of the users run as standard users, not admins). When I logged on as an admin and opened up systemroot\Fonts in an Explorer window, the fonts then populated. (I’m glad it was only three machines.) I’m going to use your technique the next time I need to install fonts on several machines -- then I can do it without needing to log onto each machine. Thanks! Bill]]>
BillTue, 04 Mar 2008 09:47:32 GMThttp://www.windowsitpro.com/article/vbscript/the-trick-to-installing-fonts-with-a-vbscript-or-powershell-script#commentsAnchor
PowerShell Queries for Failed Services on Remote Machineshttp://www.windowsitpro.com/article/windows-management-instrumentation-wmi/powershell-queries-for-failed-services-on-remote-machines#commentsAnchorMon, 03 Mar 2008 15:34:42 GMT
Dee-- To download the script, click the "Download the Code" box right above the orange summary box on the top of this article page. Let me know if you run into anymore problems! Christan Humphries Your Savvy Assistant]]>
ChristanMon, 03 Mar 2008 15:34:42 GMThttp://www.windowsitpro.com/article/windows-management-instrumentation-wmi/powershell-queries-for-failed-services-on-remote-machines#commentsAnchor
PowerShell Queries for Failed Services on Remote Machineshttp://www.windowsitpro.com/article/windows-management-instrumentation-wmi/powershell-queries-for-failed-services-on-remote-machines#commentsAnchorMon, 03 Mar 2008 13:57:45 GMT
Where can i download this script? I’m trying to create a powershell script that will output the services running, biosname, ip address, applications installed, GPO, schedule tasks.. please advise. Thanks! Dee deepakm@rice.edu]]>
DeepakMon, 03 Mar 2008 13:57:45 GMThttp://www.windowsitpro.com/article/windows-management-instrumentation-wmi/powershell-queries-for-failed-services-on-remote-machines#commentsAnchor
Repair Network Connections from the Command Linehttp://www.windowsitpro.com/article/scripting-languages/repair-network-connections-from-the-command-line#commentsAnchorWed, 27 Feb 2008 05:16:05 GMT
good script]]>
arvindWed, 27 Feb 2008 05:16:05 GMThttp://www.windowsitpro.com/article/scripting-languages/repair-network-connections-from-the-command-line#commentsAnchor
Repair Network Connections from the Command Linehttp://www.windowsitpro.com/article/scripting-languages/repair-network-connections-from-the-command-line#commentsAnchorWed, 27 Feb 2008 05:14:15 GMT
this artical is very usefull in solving our day to day problems .]]>
arvindWed, 27 Feb 2008 05:14:15 GMThttp://www.windowsitpro.com/article/scripting-languages/repair-network-connections-from-the-command-line#commentsAnchor
Repair Network Connections from the Command Linehttp://www.windowsitpro.com/article/scripting-languages/repair-network-connections-from-the-command-line#commentsAnchorMon, 18 Feb 2008 01:09:50 GMT
GOOD JOB]]>
jeffzhang Mon, 18 Feb 2008 01:09:50 GMThttp://www.windowsitpro.com/article/scripting-languages/repair-network-connections-from-the-command-line#commentsAnchor
Repair Network Connections from the Command Linehttp://www.windowsitpro.com/article/scripting-languages/repair-network-connections-from-the-command-line#commentsAnchorWed, 13 Feb 2008 13:26:09 GMT
browsin]]>
amitWed, 13 Feb 2008 13:26:09 GMThttp://www.windowsitpro.com/article/scripting-languages/repair-network-connections-from-the-command-line#commentsAnchor
Stop Msconfig.exe's Post-Boot Confirmation from Popping Uphttp://www.windowsitpro.com/article/windows-shell-bat-and-cmd/stop-msconfig-exe-s-post-boot-confirmation-from-popping-up#commentsAnchorThu, 31 Jan 2008 00:31:43 GMT
its most imp articale]]>
myhotline Thu, 31 Jan 2008 00:31:43 GMThttp://www.windowsitpro.com/article/windows-shell-bat-and-cmd/stop-msconfig-exe-s-post-boot-confirmation-from-popping-up#commentsAnchor
Repair Network Connections from the Command Linehttp://www.windowsitpro.com/article/scripting-languages/repair-network-connections-from-the-command-line#commentsAnchorWed, 09 Jan 2008 16:05:33 GMT
Thanks for your feedback! I’m glad you found Alex’s script useful. Just wanted to alert you and other readers to an interview with Alex that’s coming up in February on windowsitpro.com. He’ll be discussing PowerShell. Stay tuned!]]>
AnneWed, 09 Jan 2008 16:05:33 GMThttp://www.windowsitpro.com/article/scripting-languages/repair-network-connections-from-the-command-line#commentsAnchor
Repair Network Connections from the Command Linehttp://www.windowsitpro.com/article/scripting-languages/repair-network-connections-from-the-command-line#commentsAnchorWed, 09 Jan 2008 05:42:41 GMT
Excellent Script]]>
SURESHWed, 09 Jan 2008 05:42:41 GMThttp://www.windowsitpro.com/article/scripting-languages/repair-network-connections-from-the-command-line#commentsAnchor
Xbackup.cmdhttp://www.windowsitpro.com/article/scripting/xbackup-cmd#commentsAnchorWed, 02 Jan 2008 11:36:49 GMT
lbutchk: Robocopy is now integrated into Windows (as of Vista). Although my approach was based on using an easy, already-there tool, I love using robocopy. It makes life much easier. Unfortunately it isn’t a separate download from Microsoft, but people can get it from the 2003 RK tools: http://www.microsoft.com/downloads/results.aspx?freetext=robocopy. arztje: A funny thing about those hidden files. I usually use that as well, but I found it to be a disaster for end user backups. The problem was the user filesystem backup always got their Temporary Internet Files and standard temp files as well. This meant that users who didn’t pay close attention to their PCs - the ones most at risk in a decentralized environment - got lots of garbage in their backups. Worse, the longer backup times meant they didn’t bother running it as often. :s When I switched to not backing up hidden files, it turned out that the losses generally didn’t matter to people. They were still getting the items that were personally important to them. Ironically, even though it makes some recovery tasks much more difficult, the increased likelihood of doing the backups meant that the things users worry about - documents (and photos/music/video, even though it isn’t business-related...) - were very likely to be in good shape. Of course, if you’re less lazy than me, you can use an exclude file as well to rip out the Temp folder and Temporary Internet Files. :)]]>
AlexWed, 02 Jan 2008 11:36:49 GMThttp://www.windowsitpro.com/article/scripting/xbackup-cmd#commentsAnchor
Xbackup.cmdhttp://www.windowsitpro.com/article/scripting/xbackup-cmd#commentsAnchorFri, 21 Dec 2007 22:00:31 GMT
I recommend using the /f (verbose), /e (all sub-directories) and /h (hidden files) as well. I usually use (from the source folder xcopy /f /d /e /h /y /c .\* Just a suggestion. Xcopy should live forever. At least now I know I am not the only one doing backups with it. Nice work.]]>
JoshuaFri, 21 Dec 2007 22:00:31 GMThttp://www.windowsitpro.com/article/scripting/xbackup-cmd#commentsAnchor
Xbackup.cmdhttp://www.windowsitpro.com/article/scripting/xbackup-cmd#commentsAnchorWed, 12 Dec 2007 11:32:52 GMT
Don’t know about xcopy but robocopy (from MicroSoft) has a nice retry feature if network connectivity is temporarily lost you can set how many times to retry and resume where it left off.]]>
LanceWed, 12 Dec 2007 11:32:52 GMThttp://www.windowsitpro.com/article/scripting/xbackup-cmd#commentsAnchor
Stop Msconfig.exe's Post-Boot Confirmation from Popping Uphttp://www.windowsitpro.com/article/windows-shell-bat-and-cmd/stop-msconfig-exe-s-post-boot-confirmation-from-popping-up#commentsAnchorFri, 05 Oct 2007 15:29:02 GMT
Interesting]]>
SeanFri, 05 Oct 2007 15:29:02 GMThttp://www.windowsitpro.com/article/windows-shell-bat-and-cmd/stop-msconfig-exe-s-post-boot-confirmation-from-popping-up#commentsAnchor
Stop Msconfig.exe's Post-Boot Confirmation from Popping Uphttp://www.windowsitpro.com/article/windows-shell-bat-and-cmd/stop-msconfig-exe-s-post-boot-confirmation-from-popping-up#commentsAnchorTue, 25 Sep 2007 18:12:00 GMT
very nice]]>
PramodTue, 25 Sep 2007 18:12:00 GMThttp://www.windowsitpro.com/article/windows-shell-bat-and-cmd/stop-msconfig-exe-s-post-boot-confirmation-from-popping-up#commentsAnchor
Creating Date and Time Stampshttp://www.windowsitpro.com/article/vbscript/creating-date-and-time-stamps#commentsAnchorFri, 10 Aug 2007 06:35:41 GMT
Craig, using Right("00" & , 2) is a very nice trick. I’ve adapted the two generic drop-in functions to use it, as shown below. Function ToDateStamp(ByVal dt) ToDateStamp = Year(dt) _ & Right("00" & Month(dt), 2) _ & Right("00" & Day(dt), 2) End Function Function ToTimeStamp(ByVal dt) ToTimeStamp = Right("00" & Hour(dt), 2) _ & Right("00" & Minute(dt), 2) _ & Right("00" & Second(dt), 2) End Function Thanks for raising the point!]]>
AlexFri, 10 Aug 2007 06:35:41 GMThttp://www.windowsitpro.com/article/vbscript/creating-date-and-time-stamps#commentsAnchor
Creating Date and Time Stampshttp://www.windowsitpro.com/article/vbscript/creating-date-and-time-stamps#commentsAnchorSat, 04 Aug 2007 21:58:09 GMT
Sorry - correction: wDate = Year(Now) & Right("00" & Month(Now), 2) & Right("00" & Day(Now), 2) wTime = Right("00" & Hour(Now), 2) & Right("00" & Minute(Now), 2) & Right("00" & Second(Now), 2)]]>
CraigSat, 04 Aug 2007 21:58:09 GMThttp://www.windowsitpro.com/article/vbscript/creating-date-and-time-stamps#commentsAnchor
Creating Date and Time Stampshttp://www.windowsitpro.com/article/vbscript/creating-date-and-time-stamps#commentsAnchorSat, 04 Aug 2007 21:56:46 GMT
How about two lines that can be pasted in where needed: wDate = Year(Now) & Right("00" & Month(Now), 2) & Right("00" & Day(Now), 2) wTime = Right("00" & Hour(Now), 2) & Right("00" & Minute(Now), 2)]]>
CraigSat, 04 Aug 2007 21:56:46 GMThttp://www.windowsitpro.com/article/vbscript/creating-date-and-time-stamps#commentsAnchor
5 Plug-In Functions to Manipulate Files, Folders, and Driveshttp://www.windowsitpro.com/article/vbscript/5-plug-in-functions-to-manipulate-files-folders-and-drives#commentsAnchorTue, 09 Jan 2007 12:23:47 GMT
Very handy. But I did modify the Write and Append functions to automatically add a VBCrLf character. For me I would want that all the time.]]>
handl@rcn.com Tue, 09 Jan 2007 12:23:47 GMThttp://www.windowsitpro.com/article/vbscript/5-plug-in-functions-to-manipulate-files-folders-and-drives#commentsAnchor
Change Local Administrator Account Passwords Automatically http://www.windowsitpro.com/article/active-directory-service-interfaces-adsi/change-local-administrator-account-passwords-automatically-#commentsAnchorFri, 30 Jun 2006 10:18:11 GMT
ditto]]>
KenFri, 30 Jun 2006 10:18:11 GMThttp://www.windowsitpro.com/article/active-directory-service-interfaces-adsi/change-local-administrator-account-passwords-automatically-#commentsAnchor
Change Local Administrator Account Passwords Automatically http://www.windowsitpro.com/article/active-directory-service-interfaces-adsi/change-local-administrator-account-passwords-automatically-#commentsAnchorMon, 20 Mar 2006 10:04:24 GMT
Where is the code?]]>
ThomasMon, 20 Mar 2006 10:04:24 GMThttp://www.windowsitpro.com/article/active-directory-service-interfaces-adsi/change-local-administrator-account-passwords-automatically-#commentsAnchor
Change Local Administrator Account Passwords Automatically http://www.windowsitpro.com/article/active-directory-service-interfaces-adsi/change-local-administrator-account-passwords-automatically-#commentsAnchorMon, 13 Mar 2006 19:10:26 GMT
Uh - where in Hades is the Set-LocalPassword tool?]]>
ROBERTMon, 13 Mar 2006 19:10:26 GMThttp://www.windowsitpro.com/article/active-directory-service-interfaces-adsi/change-local-administrator-account-passwords-automatically-#commentsAnchor
Change Local Administrator Account Passwords Automatically http://www.windowsitpro.com/article/active-directory-service-interfaces-adsi/change-local-administrator-account-passwords-automatically-#commentsAnchorFri, 24 Feb 2006 15:53:38 GMT
Where is the code. The zip file only contains the GetConfirmedPassword Function. No other code.]]>
Fri, 24 Feb 2006 15:53:38 GMThttp://www.windowsitpro.com/article/active-directory-service-interfaces-adsi/change-local-administrator-account-passwords-automatically-#commentsAnchor
Change Local Administrator Account Passwords Automatically http://www.windowsitpro.com/article/active-directory-service-interfaces-adsi/change-local-administrator-account-passwords-automatically-#commentsAnchorSun, 05 Feb 2006 15:49:33 GMT
Article would be really useful if the download zip file actually have the Set-LocalPassword tool in it. I am I the only one on the planet to notice this?]]>
MARKSun, 05 Feb 2006 15:49:33 GMThttp://www.windowsitpro.com/article/active-directory-service-interfaces-adsi/change-local-administrator-account-passwords-automatically-#commentsAnchor
Easy pcAnywhere Connection Managementhttp://www.windowsitpro.com/article/remote-computing/easy-pcanywhere-connection-management#commentsAnchorThu, 04 Aug 2005 09:33:31 GMT
Used the corrected code with PCAnywhere 11.5 and it worked fine !]]>
Anonymous User Thu, 04 Aug 2005 09:33:31 GMThttp://www.windowsitpro.com/article/remote-computing/easy-pcanywhere-connection-management#commentsAnchor
Easy pcAnywhere Connection Managementhttp://www.windowsitpro.com/article/remote-computing/easy-pcanywhere-connection-management#commentsAnchorWed, 04 May 2005 04:52:42 GMT
jjjjj]]>
Anonymous User Wed, 04 May 2005 04:52:42 GMThttp://www.windowsitpro.com/article/remote-computing/easy-pcanywhere-connection-management#commentsAnchor
Make Remote Shutdowns a Snaphttp://www.windowsitpro.com/article/vbscript/make-remote-shutdowns-a-snap#commentsAnchorThu, 17 Feb 2005 04:19:58 GMT
Very nice Script, thanks for sharing... I have a simple question, using WinXP SP2 with active firewall what port should be opened in order for this and other scripts to work. Thanks again.]]>
GabrielThu, 17 Feb 2005 04:19:58 GMThttp://www.windowsitpro.com/article/vbscript/make-remote-shutdowns-a-snap#commentsAnchor
Make Remote Shutdowns a Snaphttp://www.windowsitpro.com/article/vbscript/make-remote-shutdowns-a-snap#commentsAnchorWed, 02 Feb 2005 13:11:13 GMT
Very usefull]]>
MarioWed, 02 Feb 2005 13:11:13 GMThttp://www.windowsitpro.com/article/vbscript/make-remote-shutdowns-a-snap#commentsAnchor
Make Remote Shutdowns a Snaphttp://www.windowsitpro.com/article/vbscript/make-remote-shutdowns-a-snap#commentsAnchorThu, 20 Jan 2005 07:15:15 GMT
When I enforce password protected screen savers through GPO across the domain this script errors out. Is there any way to handle the locked screen saver with this tool or am I looking in the wrong place?]]>
Wayne Geils Thu, 20 Jan 2005 07:15:15 GMThttp://www.windowsitpro.com/article/vbscript/make-remote-shutdowns-a-snap#commentsAnchor
Universal Command-Line Wrapper Tool for WSHhttp://www.windowsitpro.com/article/windows-management-instrumentation-wmi/universal-command-line-wrapper-tool-for-wsh#commentsAnchorTue, 10 Aug 2004 10:29:04 GMT
Excellent article, very well written.]]>
ajrushinTue, 10 Aug 2004 10:29:04 GMThttp://www.windowsitpro.com/article/windows-management-instrumentation-wmi/universal-command-line-wrapper-tool-for-wsh#commentsAnchor
5 Plug-In Functions to Manipulate Files, Folders, and Driveshttp://www.windowsitpro.com/article/vbscript/5-plug-in-functions-to-manipulate-files-folders-and-drives#commentsAnchorWed, 26 May 2004 04:33:53 GMT

The functions are indeed quite handy! Here is a recursive implementation for MakeDirectory, which looks one bit simpler (to me at least). Moreover, it has the added benefit that if a FileSystemObject is available at the point of call, you can pass it to the function and thus save the overhead of creating a FileSystemObject on each call. If an fso is not available, then simply invoke it as MakeDirectory(null, Path):


Function MakeDirectory(ByVal fso, ByVal Path)
Dim dir
if (isnull(fso)) then _
Set fso = CreateObject("Scripting.FileSystemObject")

With fso
If (not .FolderExists( .GetDriveName (path))) Then
MakeDirectory = False
Exit function
end if
If (.FolderExists(path)) Then
MakeDirectory = True
Exit function
end if

if (MakeDirectory(fso, .GetParentFolderName(path)) = false) then
MakeDirectory = false
Exit function
end if

.CreateFolder path
MakeDirectory = True
End With
End Function ]]>Dimitris Staikos Wed, 26 May 2004 04:33:53 GMThttp://www.windowsitpro.com/article/vbscript/5-plug-in-functions-to-manipulate-files-folders-and-drives#commentsAnchorWrite Your Own Plug-In Functionshttp://www.windowsitpro.com/article/vbscript/write-your-own-plug-in-functions#commentsAnchorSat, 15 May 2004 00:40:37 GMT

This article is a great start, but doesn’t go far enough to show how to actually create your library of functions. With a little research, I’ve discovered that .WSF files can reference the separate .VBS files, leaving them for use as include files. Here is an example of a .WSF file doing just that:






]]>Geoff Faulkner Sat, 15 May 2004 00:40:37 GMThttp://www.windowsitpro.com/article/vbscript/write-your-own-plug-in-functions#commentsAnchorLogon Scripting for Transitional Networkshttp://www.windowsitpro.com/article/windows-script-host-wsh/logon-scripting-for-transitional-networks#commentsAnchorSun, 09 Feb 2003 17:01:25 GMT

Logon scripts that run in Windows XP might not work if you use %0 in the script. Check out http://www.jsifaq.com/SUBJ/tip4900/rh4995.htm or the Microsoft Knowledge Base article "A Logon Script Does Not Work If %0 or %0\..\ Calls Multiple Commands"(318689).

]]>
Lawrence Dee Sun, 09 Feb 2003 17:01:25 GMThttp://www.windowsitpro.com/article/windows-script-host-wsh/logon-scripting-for-transitional-networks#commentsAnchor
Connect to a Citrix Server from the Command Linehttp://www.windowsitpro.com/article/scripting/connect-to-a-citrix-server-from-the-command-line#commentsAnchorFri, 13 Dec 2002 08:29:51 GMT
This will only work if the admistrator has not set the option to run only published applications. Which should be the case from a security stand point. ]]>
Gerson Levitz Fri, 13 Dec 2002 08:29:51 GMThttp://www.windowsitpro.com/article/scripting/connect-to-a-citrix-server-from-the-command-line#commentsAnchor
Easy pcAnywhere Connection Managementhttp://www.windowsitpro.com/article/remote-computing/easy-pcanywhere-connection-management#commentsAnchorWed, 26 Jun 2002 09:46:44 GMT
I made an Active Desktop wallpaper with my users’ names, linking to their pcAnywhere connection. Simply make an HTML page and use this type of links: C:\Documents and Settings\All Users\Application Data\Symantec\pcAnywhere\clientname.CHF I’m just one click away from my users :)]]>
Martin Huijgen Wed, 26 Jun 2002 09:46:44 GMThttp://www.windowsitpro.com/article/remote-computing/easy-pcanywhere-connection-management#commentsAnchor
Easy pcAnywhere Connection Managementhttp://www.windowsitpro.com/article/remote-computing/easy-pcanywhere-connection-management#commentsAnchorSun, 11 Nov 2001 14:13:24 GMT
CODE CORRECTION, PCANYWHERE 10.5 NOTES I discovered a mistake on my part in the submitted code. The line with the start command needs to include an extra pair of quote marks at the beginning to deal with a quirk in START.

On NT/2000/XP, the command processor interprets the contents of the first "" it sees as the window title. TO fix it, make that line the following (all 1 line):

Start "" "C:\Program Files\Symantec\pcAnywhere\AWREM32.EXE" "C:\Program Files\Symantec\pcAnywhere\data\template.CHF" /C%1

Sorry for the error - my fault, it appears I lost the "" while submitting the note.

Also, please note that pcAnywhere 10.5 has some default enhanced security restrictions (at least in beta) which prohibit launching the template from anywhere outside of the pcAnywhere directory structure.

I am including here an updated version which should work fine after you "localize" the variables to your system. I inserted line numbers to prevent problems with wrapping of this text as it is displayed.

1. Set App_Working_Dir="C:\Program Files\Symantec\pcAnywhere" 2. Set App_PE_Name=AWREM32.EXE 3. :: pcAnywhere 10.5 beta refuses to run if this is NOT in the CMS subdir 4. Set App_Doc_Name="C:\Program Files\Symantec\pcAnywhere\CMS\Template.CHF" 5. :: END LOCALIZATION 6. 7. :: Let user see what exe name is and what the working directory will be 8. @echo Target system ia %1; template used is %App_Doc_Name% 9. :: pcAnywhere 10.5 beta refuses to run if you don’t CD to this folder 10. pushd %App_Working_Dir% 11. start %App_PE_Name% %App_Doc_Name% /C%1 12. popd 13. 14. :: done with variables - destroy them 15. Set App_Working_Dir= 16. Set App_PE_Name= 17. Set App_Doc_Name= ]]>
Alex Angelopoulos Sun, 11 Nov 2001 14:13:24 GMThttp://www.windowsitpro.com/article/remote-computing/easy-pcanywhere-connection-management#commentsAnchor