javascript thread: Re: Function to locate a Directory / File on client side- machine
Joe,
Many thanks for this advice.
My target for this is NT+ running from a web page. If you could let me
have the scripts you mentioned, I would really appreciate this.
Cheers,
Chris Rumsey
> Chris
> Sorry, I slightly misread your question concerning the 'directory' part.
No
> you can't do this in JavaScript and yes I did mean 'Java'. As I said it
> depends on the scenario, is this from a web page or a stand alone
JavaScript
> file? It also depends on the machines you are targeting. On Windows NT+
then
> it's straight-forward and can be probably be done with components
available
> on the machine unless you are in a web page when it will require the
user to
> allow unsafe ActiveX to run.
> Let me know the situation and I'll post a couple of scripts to effect
this.
>
> Joe
>
>
> >From: "Chris Rumsey" <chris.rumsey@s...>
> >Reply-To: "javascript" <javascript@p...>
> >To: "javascript" <javascript@p...>
> >Subject: [javascript] Re: Function to locate a Directory / File on
client
> >side machine
> >Date: Thu, 28 Feb 2002 14:23:01
> >
> >Joe,
> >
> >What I am trying to achieve is allowing the user to specify a directory
> >name or file name without them having to type this into a input box. I
> >don't want to use input tag type='file' as this won't work with
> >directories names, also I don't want to upload a file so this input tag
is
> >not really appropriate.
> >
> >When you say I need activex or java do you mean 'java' rather than
> >javascript ? If I use some activex control I want it be one that I can
> >rely on as being on the client, I don't want to client to have to
download
> >any activex controls.
> >
> >
> > > Chris
> > > Well in a web page it's easy, use input tag type='file' and read the
> >value
> > > produced. In a stand-alone JavaScript it can't be done without
> >harnessing
> > > the operating system via ActiveX or Java, what is your scenario?
> > >
> > > Joe
> > >
> > >
> > > >From: "Chris Rumsey" <chris.rumsey@s...>
> > > >Reply-To: "javascript" <javascript@p...>
> > > >To: "javascript" <javascript@p...>
> > > >Subject: [javascript] Function to locate a Directory / File on
client
> >side
> > > >machine
> > > >Date: Thu, 28 Feb 2002 11:27:29
> > > >
> > > >I want to create a clientside javascript function that will allow
user
> >to
> > > >locate/browse to any file of directory accessible from their PC.
That
> > > >function will then return the file or directory name.
> > > >
> > > >Can this be done in javascript ?
> >$subst('Email.Unsub').
> > >
> > >
> > >
> > >
> > > _________________________________________________________________
> > > Chat with friends online, try MSN Messenger: http://messenger.msn.com
> > >
> >
>
>
>
>
> _________________________________________________________________
> Send and receive Hotmail on your mobile device: http://mobile.msn.com
>