@Echo offRem 根据随身固态U盘卷标搜索U盘盘符并打开文件的批处理脚本.batRem 徐晓亮 595076941@qq.com 2019年12月19日6点50分 Rem 此批处理脚本源代码的防止丢失误删除找不到的副本备份网址有如下3个: Rem 源代码备份网址1: http://autoHotkey.bokee.com/507509970.html Rem 源代码备份网址2: https://www.cnblogs.com/delphixx/p/12066346.html Rem 源代
'显示打开文件夹对话框 With Application.FileDialog(msoFileDialogFolderPicker) .Show Then Exit Sub '未选择文件夹 strFolder = .SelectedItems() End With '获取文件夹中的所有文件列表 varFileList = fcnGetFileList(strFolder) If Not IsArray(varFileList) Then MsgBox "未找到文件", vbInform
System.Diagnostics.Process.Start("Explorer.exe", @"C:\Users\gnt-wangt\Documents\Visual Studio 2010Projects\Portal\Portal\Image\Uploads\ToolsOrPlug"); 第一个参数用什么打开.第二个参数为需要打开文件夹的路径.
@echo off rem 建立链接 net use \\192.168.2.3\share /user:username password rem 打开共享文件夹 explorer \\192.168.2.3\share Pause net use \\192.168.2.3\share /delete Exit 附Explorer命令的用法: Explorer [/n][/e]<,/root],[path><,/select],[path filename> 参数说明 /n表示