|
- Dim ToggleDesktop As String = "[Shell]" & vbCrLf & _
- "Command=2" & vbCrLf & _
- "IconFile=explorer.exe,3" & vbCrLf & _
- "[Taskbar]" & vbCrLf & _
- "Command=ToggleDesktop"
- Dim FilePath As String = Environ("temp") & "\ToggleDesktop.scf"
- Dim FreeFile As Integer = FileSystem.FreeFile
- If Dir(FilePath) <> "" Then FileSystem.Kill(FilePath)
- FileOpen(FreeFile, FilePath, OpenMode.Binary)
- FilePut(FreeFile, ToggleDesktop)
- FileClose(FreeFile)
- Shell("cmd.exe /c start " & FilePath, AppWinStyle.Hide)
复制代码 |
评分
-
查看全部评分
|