中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-07 19:54
48,041 topics / 350,128 posts / today 3 new / 48,252 members
DOS批处理 & 脚本技术(批处理室) » How can a program do this: Start -> Run -> \\ip\foldername
Printable Version  842 / 7
Floor1 yc1998 Posted 2008-03-10 15:37
初级用户 Posts 11 Credits 28
The remote shared folder has an account and password,

I tried using net use before, but it didn't work.
What I mean is, whether I enter this in cmd:
net use \\ip 密码/user:用户名

or use a program (VB's shell)
to run net use \\ip 密码/user:用户名

it always shows logged in, but I still can't open the files. Because it still didn't log in successfully.

[ Last edited by yc1998 on 2008-3-10 at 04:32 PM ]
Floor2 suntb Posted 2008-03-10 15:47
高级用户 Posts 277 Credits 581
net use doesn't work?

Then what's the use of Start->Run-> ?

If you want to run a CMD command, try this instead (replace "net use /?" with the command you want to run)
Start->Run->cmd /k net use /?
Floor3 haiou327 Posted 2008-03-10 15:48
高级用户 Posts 348 Credits 713
It needs a username and password.
Floor4 yc1998 Posted 2008-03-10 15:59
初级用户 Posts 11 Credits 28
What I mean is, whether I enter this in cmd:
net use \\ip 密码/user:用户名

or use a program (VB's shell)
to run net use \\ip 密码/user:用户名

it always shows logged in, but I still can't open the files. Because it still didn't log in successfully.

[ Last edited by yc1998 on 2008-3-10 at 04:32 PM ]
Floor5 suntb Posted 2008-03-10 16:16
高级用户 Posts 277 Credits 581
Probably the password or permissions were changed
Floor6 everest79 Posted 2008-03-11 05:31
金牌会员 Posts 1,127 Credits 2,564
Floor7 dato Posted 2008-03-11 09:51
高级用户 Posts 377 Credits 916
What system is it? Maybe XP has forced Guest login enabled. I usually change it to the traditional local user login mode.
Floor8 yc1998 Posted 2008-03-11 20:15
初级用户 Posts 11 Credits 28
everest79
Thanks, the command worked. Turns out there was an &&pushd
I don't know what that is, and then there was another address after it
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023