cmd
Assume always-trust is yes/true in GPG cmd
Im using GPG to encrypt a file in ASP.NET, C#. My code executes the command using ProcessStartInfo, and gpg.exe executes, but I have an issue. GPG asks me to authorize always-trust with \"y\" as the o[详细]
2023-04-01 09:26 分类:问答Use "rmdir" functionality but keep specified directory
I would like the functionality of rmdir /s but I need to keep the specified directory. rmdir /s removes all files and sub directories in addition to the directory specified.[详细]
2023-04-01 07:20 分类:问答Using an OR in an IF statement WinXP Batch Script [duplicate]
This question already has answers here: IF... OR IF... in a windows batch file (18 answers) Closed 4 years ago.[详细]
2023-04-01 02:49 分类:问答for /f closes cmd prompt immediately
When I open cmd.exe and ty开发者_运维百科pe that first line and push ENTER, it works fine. When I input that other line and push ENTER, it closes immediately.[详细]
2023-03-31 19:46 分类:问答How to echo "2" (no quotes) to a file, from a batch script?
How do I 开发者_StackOverflowecho the number 2 into a file, from a batch script? This doesn\'t work:[详细]
2023-03-31 15:15 分类:问答windows batch / multiple commands per line
I use Windows and I have a C program which calls popen to execute a command dynamically. But if i try to execute something like this:[详细]
2023-03-31 02:50 分类:问答How to write a Windows Firewall preferably with Java [closed]
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari[详细]
2023-03-31 01:45 分类:问答How do I write a file whose *filename* contains utf8 characters in Perl?
I am struggling creating a file that contains non-ascii characters. The following script works fine, if it is called with 0 as parameter but dies when called with 1.[详细]
2023-03-30 19:57 分类:问答Windows command script failing to recognize CD parameter for Java program
I\'m trying to run a Java program from a script called converter.cmd but something is wrong. P:\\LatitudeConsulting\\LatConConverter-1.8.2>dir[详细]
2023-03-30 14:08 分类:问答Dummy command in windows cmd
In linux we have a makefile: $(foreach A,a b,echo $(A) &&) true It works and echos a b Now we want to port it to Windows. The shortest command I\'ve found for Windows that does nothing:[详细]
2023-03-30 12:25 分类:问答