![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | How to close this statement out properly 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. |
My System Specs![]() |
| | #2 (permalink) |
| | Re: How to close this statement out properly "Whispering Leaf" <WhisperingLeaf@newsgroup> wrote in message news:E915E479-2C3B-4195-B798-2377C12ECAC7@newsgroup Quote: > > 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. |
My System Specs![]() |
| | #3 (permalink) |
| | Re: How to close this statement out properly On Oct 5, 9:51*am, Whispering Leaf <WhisperingL...@newsgroup> wrote: Quote: > 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? |
My System Specs![]() |
| | #4 (permalink) |
| | Re: How to close this statement out properly "Whispering Leaf" <WhisperingLeaf@newsgroup> wrote in message news:B813D570-CC83-47FE-90B3-1281BD1D775E@newsgroup Quote: >I had the statements before the select, Duh. > > Figured it out. > |
My System Specs![]() |
| | #5 (permalink) |
| | Re: How to close this statement out properly yeop, I sure did, sorry. "Pegasus [MVP]" wrote: Quote: > > "Whispering Leaf" <WhisperingLeaf@newsgroup> wrote in > message news:B813D570-CC83-47FE-90B3-1281BD1D775E@newsgroup Quote: > >I had the statements before the select, Duh. > > > > Figured it out. > > > .. . . which you omitted from your first post! > > > |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Vista Mail won;t close properly when exited. | Vista mail | |||
| WMP 11 Does not close properly | Media Center | |||
| Vista 64x mail won't close properly when exiting | Vista mail | |||
| CD didn't close properly & photos lost | Vista music pictures video | |||
| Program Fails to Close Properly | Software | |||