Computing.Net > Forums > Windows Vista > Batch file Problems

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Batch file Problems

Reply to Message Icon

Name: Kardian
Date: April 13, 2007 at 16:11:31 Pacific
OS: Vista Business
CPU/Ram: AMD Athlon XP 1900+, 512M
Comment:

Apparently, the command prompt included with Vista doesn't support UNC paths. I've got a login script (batch file) that works with XP that copies a file from a shared network location to the local PC, but the script will not work on the Vista PCs. I've tried looking for a basic copy and paste visual basic script, but for some reason I'm having a heck of a time finding one. Anyone know where I can get it, or at least, the code to create my own script?



Sponsored Link
Ads by Google

Response Number 1
Name: heropsycho2177
Date: April 14, 2007 at 07:51:09 Pacific
Reply:

"Apparently, the command prompt included with Vista doesn't support UNC paths."

Not true.

"I've tried looking for a basic copy and paste visual basic script, but for some reason I'm having a heck of a time finding one. Anyone know where I can get it, or at least, the code to create my own script?"

http://www.microsoft.com/technet/sc...

"Enough, enough bowing down to disillusion!
Hats off & applause to rogues & evolution!
The ripple effect is too good not to mention.
If you’re not affected, you’re not paying attention!"


0

Response Number 2
Name: Kardian
Date: April 14, 2007 at 09:31:56 Pacific
Reply:

Thanks for the reply! :)

When my batch file runs on a Vista PC, I get a message that UNC paths are not supported, and that the path was not found. I've verified that the source and destination paths are correct. If Vista Business supports UNC paths in command prompt, why do I get the path cannot be found errors?

Again, thanks for the reply!

MCP CCNP


0

Response Number 3
Name: heropsycho2177
Date: April 14, 2007 at 09:51:38 Pacific
Reply:

Haven't run such batch files within Vista yet, so I don't know.

This forum thread suggests an add-in that provides support for UNC in Vista 32-bit.

http://forums.microsoft.com/MSDN/Sh...

I just know that I can browse stuff using Vista by typing \\computername\sharename, so there has to be compatibility somewhere.

"Enough, enough bowing down to disillusion!
Hats off & applause to rogues & evolution!
The ripple effect is too good not to mention.
If you’re not affected, you’re not paying attention!"


0

Response Number 4
Name: Kardian
Date: April 17, 2007 at 16:29:56 Pacific
Reply:

Thanks! :)

MCP CCNP


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Replacing/Updating LZ32.d... Vista save dialogue crash...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows Vista Forum Home


Sponsored links

Ads by Google


Results for: Batch file Problems

Need help /w winsock batch file www.computing.net/answers/windows-vista/need-help-w-winsock-batch-file/3766.html

Batch file www.computing.net/answers/windows-vista/batch-file/5326.html

End Batch File When There's No Netw www.computing.net/answers/windows-vista/end-batch-file-when-theres-no-netw/1404.html