Discussion Locked

VBScript/HTA problem

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Due to space limitations I can't include the full HTA, but it only copies the user folder to c:\doc and settings, no notes or fav's or desktop. Everything appears to work fine, I call the setup() sub on a click event. All checkboxes are checked. It gives me the message copy complete (no errors)

4 replies

by jrod86

insert the script section where I have indicated. It's too long to post as a whole.

Hotel Station Setup

****Script goes in here****

Enter the username to copy:         
Enter the computer to copy from:
Enter the computer to copy to:     


Items to copy
Favorites    Desktop Icons   
Lotus Notes


by tross2005

in this section of code
I manipulated the 1's to "True"
If Favorites.Checked="True" Then
objFSO.CopyFolder copFolder, toFolder, true
End If

If Desktop.Checked="True" Then
objFSO.CopyFolder copFolder2, toFolder, true
End If

If Notes.Checked="True" 1 Then
objFSO.CopyFile copNotesini, toFolder2, true
objFSO.CopyFolder copNotesData, toFolder2, true
End If

This it worked.

by jrod86

First, let me say thank you so much for helping me. That worked perfectly. I knew it was something rediculously simple, but just couldn't figure it out. Thanks again.

This discussion is closed to new replies.