Case "MOS-IT"
WSHNetwork.MapNetworkDrive "V:", "\\YFILE01\Files\" & UserString
I'm getting an Expected statement error.
I'm a scripting lightweight, i know I'm missing a quote here or something
small at the end, right?
Thanks.
Case "MOS-IT"
WSHNetwork.MapNetworkDrive "V:", "\\YFILE01\Files\" & UserString
I'm getting an Expected statement error.
I'm a scripting lightweight, i know I'm missing a quote here or something
small at the end, right?
Thanks.
"Whispering Leaf" <WhisperingLeaf@newsgroup> wrote in
message news:E915E479-2C3B-4195-B798-2377C12ECAC7@newsgroupI don't know if you're a scripting lightweight but your code fragment
>
> Case "MOS-IT"
> WSHNetwork.MapNetworkDrive "V:", "\\YFILE01\Files\" &
> UserString
>
> I'm getting an Expected statement error.
>
> I'm a scripting lightweight, i know I'm missing a quote here or something
> small at the end, right?
>
> Thanks.
certainly is! You must post enough of your code so that the structures are
obvious (e.g. your Select Case statement) and that we can see the
definitions of your objects and variables. You must also tell us which line
raises the error.
On Oct 5, 9:51*am, Whispering Leaf
<WhisperingL...@newsgroup> wrote:There isn't anything wrong with the snippet you've posted, but there
> Case "MOS-IT"
> * * * * * *WSHNetwork.MapNetworkDrive "V:", "\\YFILE01\Files\" & *UserString
>
> I'm getting an Expected statement error.
>
> I'm a scripting lightweight, i know I'm missing a quote here or something
> small at the end, right?
>
> Thanks.
is very little to go on here. Without the rest of the Select/Case
block it seems impossible to find the syntax problem.
Is it possible to post a bit more of the script and the exact error
message?
"Whispering Leaf" <WhisperingLeaf@newsgroup> wrote in
message news:B813D570-CC83-47FE-90B3-1281BD1D775E@newsgroup.. . . which you omitted from your first post!
>I had the statements before the select, Duh.
>
> Figured it out.
>
yeop, I sure did, sorry.
"Pegasus [MVP]" wrote:
>
> "Whispering Leaf" <WhisperingLeaf@newsgroup> wrote in
> message news:B813D570-CC83-47FE-90B3-1281BD1D775E@newsgroup>
> >I had the statements before the select, Duh.
> >
> > Figured it out.
> >
> .. . . which you omitted from your first post!
>
>
>
| Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Vista Mail won;t close properly when exited. | jiannu | Vista mail | 3 | 24 Apr 2009 |
| WMP 11 Does not close properly | drumstik59 | Media Center | 6 | 18 Apr 2009 |
| Vista 64x mail won't close properly when exiting | jiannu | Vista mail | 6 | 07 Apr 2009 |
| CD didn't close properly & photos lost | Spikey Sue | Vista music pictures video | 3 | 24 May 2008 |
| Program Fails to Close Properly | ktriebol | Software | 0 | 13 Feb 2008 |