Hallo, i 'm french so ...
How can i mont a network drive like 'net use ?
I'm search for a long time but i don't find.
Please help me.
Thancks a lot![]()
Professional Software Development Tools
Hallo, i 'm french so ...
How can i mont a network drive like 'net use ?
I'm search for a long time but i don't find.
Please help me.
Thancks a lot![]()
You can either call the windows api, or just shell out to Net.exe to use.
(Click here to contact me)
Providing Independent Professional Consulting Services for
IndigoRose products, World Wide.
Located in -8:00 (-7:00 DST) GMT Timezone (Western United States)
ok, if i anderstand :
result = Shell.Execute("AutoPlay\\Docs\\net.exe", "open", "use h: \\xxx.xxx.xxx.xxx\utilisat pass /USER:domaine\compte", "", SW_SHOWNORMAL, false);
but it dont work
I know, i'm a very bad programmer![]()
That wouldn't work unless you put net.exe into your folder...
Code:File.Run(_SystemFolder.."\\net.exe", "use h \\ip\share /user:usr", "", -1, true);
(Click here to contact me)
Providing Independent Professional Consulting Services for
IndigoRose products, World Wide.
Located in -8:00 (-7:00 DST) GMT Timezone (Western United States)
Good information, Thancks.
but I don't knows how can i ask for argument.
IP= Input.GetText("IP")
Ident = Input.GetText("Ident")
Password = Input.GetText("Password")
File.Run(_SystemFolder.."\\net.exe", "use h \\IP\public Password/user:Ident", "", -1, true);
This code don't work... snif![]()
You need to RTFM and pick up some basic coding skills. this is very very basic.
Code:cIP =Dialog.Input("Net Use", "Machine name or IP?","",MB_ICONQUESTION) cUSER =Dialog.Input("Net Use", "User Name?","",MB_ICONQUESTION) Password = Input.GetText("Password") File.Run(_SystemFolder.."\\net.exe", "use h \\"..cIP.." /user:"..cUser, "",SH_SHOWNORML, true);
(Click here to contact me)
Providing Independent Professional Consulting Services for
IndigoRose products, World Wide.
Located in -8:00 (-7:00 DST) GMT Timezone (Western United States)
Thancks a lot,
But show my script and help me please.
I want to connect : xxx.xxx.xxx.xxx\utilisat with Password and Ident
but i sea a black dos windows 1/4 s and it don't connect the ressouce.
Wath the 'c' mean in cIP ?
cIP= Input.GetText("IP")
cIdent = Input.GetText("Ident")
cPassword = Input.GetText("Password")
File.Run(_SystemFolder.."\\net.exe", "use h \\"..cIP.."\\utilisat "..cPassword.." /user:courrier\\"..cIdent, "",SH_SHOWNORML, true);
on dos the commande line is :
net use h: \\xxx.xxx.xxx.xxx\forder_shared Password /USER:domaine\indent
So in autoplay
args = "use h: \\".."\\"..cIP.."\forder_shared"..cPassword.." /user:domaine\\"..cIdent
but if i extract the commande line :
net use h: \xxx.xxx.xxx.xxx\forder_shared Password/USER:domaine\indent
So, \ for \\ is it the problème and if is it, i don't knows how can i solve it.
I need somme help, please![]()
To solve my problem, I tri to pass the parameter in bat file.
So my argument is IP Ident and Password.
But it should be impossible to do that.
Args=IP.." "..Ident.." "..Password
don't work
So i thick Audioplay media studio is more complexe than dos batch file.
Please help me with variable in Audio play. I don't andertend.
![]()
what is the command you use in dos?
you can then emulate that in ams using File.Run.
In the example 'h' is misisng a colon(Hand if you don't want to show the results change show_normal to -1
(Click here to contact me)
Providing Independent Professional Consulting Services for
IndigoRose products, World Wide.
Located in -8:00 (-7:00 DST) GMT Timezone (Western United States)
Hallo,
The commande line :
net use h: \\142.47.49.240\utilisat test /USER:dom\alain
How can i translate this in autoplay media studio
I want to ask for IP Ident and password
![]()
attached -- if that doesn't help you -- I'm out of ideas.
(Click here to contact me)
Providing Independent Professional Consulting Services for
IndigoRose products, World Wide.
Located in -8:00 (-7:00 DST) GMT Timezone (Western United States)
Thancks youpi lol
It's good
Now, i just want to know how can i pass argument to dos.bat file
Bye![]()