Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript How-To
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old September 4th, 2013, 02:14 AM
Registered User
Join Date: Sep 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Smile get current drive latter in javascript


i was wondering if it is possible to get the current drive letter in javascript.....

i have my local domaindir set to my local hard drive while im testing my webpages....

(ie: file://e:/.......) what i want to do is find a way to automatically get the current drive letter thru javascript... so it would look something like
"file://' + driveletter + '//".... how can the drive letter be gotten and placed in the variable name "driveletter" in javascript.


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get current location of folder or drive on right click on folder or drive Babusingh C# 2008 aka C# 3.0 1 January 20th, 2010 05:17 AM
Retrieving Current Date/Time with Javascript Neal XSLT 5 January 23rd, 2009 11:28 AM
stop current javascript function using javascript sakthi Javascript 3 June 2nd, 2008 03:30 PM
How to find if drive is a mapped drive BrianWren Pro VB 6 1 June 2nd, 2005 04:07 AM
How to find if drive is a mapped drive BrianWren Access VBA 0 June 1st, 2005 04:55 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.