Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.
Here’s the VBS
EXEC master.dbo.xp_cmdshell 'C:\Windows\System32\cscript.exe "C:\tests\convert.VBS" //B', NO_OUTPUT EXEC master.dbo.xp_cmdshell 'cscript convert.VBS' –-.vbs in system32 directory EXEC master.dbo.xp_cmdshell '"C:\tests\convert.VBS"'
set img = CreateObject("ImageMagickObject.MagickImage.1") set fso = CreateObject("Scripting.FileSystemObject") set files = fso.GetFolder("C:/TESTS").Files for each file in files img.Convert file.name, "C:/TESTS/converted/%d_" & file.name 'if file.name == ("convert.VBS") then 'do nothing 'else 'fso.deletefile(file.name) 'end if next set files = fso.GetFolder("C:/TESTS/converted").FIles for each file in files wscript.echo file.name next WScript.Quit(0)
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.