Posts by Henrique Costa Dos Santos • 51 points
2 posts
-
1
votes1
answer1738
viewsA: Create txt with Default name Printer in VBS
Solved! Follows solution: Dim fso, MyFile, printer Set fso = CreateObject("Scripting.FileSystemObject") Set MyFile = fso.CreateTextFile("c:\printer.txt", True) MyFile.WriteLine(strPrinter)…
-
4
votes1
answer1738
viewsQ: Create txt with Default name Printer in VBS
Good morning, I have the following script. Set oShell = CreateObject("WScript.Shell") strValue = "HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows\Device" strPrinter =…