有谁知道WINDOWS 95共享文件夹怎么写吗?
写的程序在XP能用,本想用批处理,95既然不支持。。。公司服务器有个95的打印机服务器。。。
[解决办法]
Private Sub Command1_Click()Dim FileN$, PathN$FileN = "Test001"PathN = IIf(Right(App.Path, 1) = "\", App.Path, App.Path & "\")MkDir PathN & FileNShell "cmd /c net share " & FileN & "=" & PathN & FileNMsgBox "ok"End Sub
[解决办法]
Shell "net share " & FileN & "=" & PathN & FileN
试试