windows-scripting
windows command config file?
I\'m running a few different windows command scripts that all reference the same directory. The directory I want to reference changes from day to day depending on what I\'m working on. I\'ve looked in[详细]
2023-04-09 23:54 分类:问答Cygwin: How to pass parameter for a windows program?
I have a small problem with cygwin and passing parameters to a windows program. My knowledge about windows shells and so on is pretty small. A friend of mine wrote a program for windows to do some c[详细]
2023-04-05 13:15 分类:问答How to evaluate Xpath when DOCTYPE present in XML declaration
I have problem with evaluation XPath expression in Windows Script Host using JScript when is present on top of document. When I remove DOCTYPE parsing doesnt break. Here is sample of code that I am[详细]
2023-03-25 10:59 分类:问答Windows programming - send email script
Looking for a simple script that would run on windows 2003 server that would basic开发者_开发技巧ally send me an email. What I plan to do us the windows services auto recovery manager to trigger the s[详细]
2023-03-24 02:55 分类:问答Do MS-DOS built-in commands return an error\exit code?
I have not found a way to get the error code, if retu开发者_如何学Gorned, of rmdir. It seems like the MS-DOS internal commands do not return an error code. Can someone confirm that?[详细]
2023-03-15 23:54 分类:问答Using cacls to set permission on executables
How exactly is it possible to restrict read and execute permiss开发者_如何学Pythonions of a file, and leave everything else in tact. So you can\'t open the file, although you can do things like move i[详细]
2023-03-10 07:26 分类:问答How to replace multiple values in a CSV or html file with PowerShell?
I wrote a script to read a list of folder objects into an xml file showing the properties for the folder.It also creates another xml file at a later point in time.After the delta xml file is created,[详细]
2023-03-08 05:38 分类:问答I am unable to delete a file on the Desktop (All Users) but I could delete without the script
It crashes on wshShell.Run. You can see that I run a WScript.Echo and it does print the location of the file name. When I run it, it says the \"The system could not find the file specified\"[详细]
2023-03-07 13:48 分类:问答vbs all user desktop folder
Set objFS = CreateObject(\"Scripting.FileSystemObject\") Set objShell = CreateObject(\"WScript.Shell\")[详细]
2023-03-07 02:42 分类:问答copying list of semicolon delimited files from txt file to given folder in windows cmd
i have text file that contains eg: c:\\test\\test1.txt;d:\\test2\\j.js;d:test2\\2.cs I need to copy those files that are delimited using windows command line bat file to given folder that is passed[详细]
2023-03-01 02:49 分类:问答