What I want to do is a direct access to an FTP site, for users to run the .Bat and automatically create Direct Access on their desktops and open the FTP site with Windows Explorer.
I hope you can help me.
Edit: I can also use a code in VB.NET
What I want to do is a direct access to an FTP site, for users to run the .Bat and automatically create Direct Access on their desktops and open the FTP site with Windows Explorer.
I hope you can help me.
Edit: I can also use a code in VB.NET
You can do the following:
$WsShell = New-Object -comObject WScript.Shell
$Shortcut = $WsShell.CreateShortcut("$HOME\Desktop\FTP.lnk")
$Shortcut.TargetPath = "ftp://usuario:password@servidor"
$Shortcut.Save()
ftp: // 'user': 'password' @ 'server'