Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged batch

0 votes
601 views
1 answer
    I want to create my own command in following manner which I wish to run from both batch and cmd.exe: fake-command ... a better way to do this? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
535 views
1 answer
    I had a very straight forward little batch script. The design outline is simple enough ... I want to touch ... @echo ^ [done] @echo. @pause See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
871 views
1 answer
    The for command with the /F switch is used to parse lines of text strings (literal strings, read from text ... a delims character also as eol. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
726 views
1 answer
    I have following code: @echo off SET ITER=0 for %%i in (%*) do ( SET ITER+=1 ECHO %ITER% ) The output ... the updated variable in the for loop? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
709 views
1 answer
    This is a simplified example with modified variable names of what I want to do. Also for simplicity sake, I am ... expand in either DOS or cmd. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.4k views
1 answer
    I have a batch file which silently installs Firefox and this works fine. (I add -ms to the line where I execute ... ***Firefox-Setup-37.exe -ms See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
630 views
1 answer
    I am trying to check if a string is quoted by checking the first and last characters of the string. But ... syntax of the command is incorrect. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
873 views
1 answer
    I need to get the drive letter of the usb pen drive.the command CHDIR >drive.txt gives me the drive letter ... into a variable in my batch file See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
634 views
1 answer
    I'm trying to create a batch script that will delete all sub directories which are older than 30 days. I' ... directories which are 30 days old? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.4k views
1 answer
    Is there a way to get epoch time using a Windows command? If not, can the date and time commands output be ... no special characters such as / : See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
636 views
1 answer
    If I start a new CMD shell from an existing shell, the new shell inherits the existing environment. Is there a way ... , our shell isn't clean! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
641 views
1 answer
    I am trying to use the GnuWin32 version of OpenSSL to fetch certificates from several WebSphere MQ queue managers. ... /POSIX issue? Code bug? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
768 views
1 answer
    There are a few situations where I need to launch and run a QTP test from the command prompt. For example, I ... . How can I accomplish this? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
931 views
1 answer
    We have an production application that is deployed using Visual Studio's built-in ClickOnce deployment tool. I ... Only the ClickOnce window. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
546 views
1 answer
    I need to connect to a host with username, password, implicit TLS encryption and port number to download files ... this job over command-line. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
578 views
1 answer
    I'm trying to use tasklist to find out which process is consuming more than X percent of my CPU (to later ... time and the CPU usage percent? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
792 views
1 answer
    Is there a command I can put into a Windows XP .bat file to bring the command shell to the front? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
485 views
1 answer
    I have a Windows CMD script that accepts a number of parameters and executes an EXE, passing first some ... the shell special characters? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
988 views
1 answer
    I am given to maintain some batch files and i repeatedly see this line in the beginning of every batch file.. FOR ... is %0 ? What is usebackq? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
980 views
1 answer
    I'm having a bit of trouble with a batch script which needs to parse a value out of an config file into a ... it to split the string on "? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
798 views
1 answer
    I have a bunch of shell scripts that used to run on a Linux machine. Now, we've switched over to Windows, ... call is made from Windows batch? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
642 views
1 answer
    %x:~12,3% Returns 3 characters starting at the 12:th character in x variable. What I have been trying to ... How can I make this work? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
646 views
1 answer
    i am using GUI to call a terminal command. By using dos(my_command, '-echo') i can get the command ... GUI until the commands are finished? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
621 views
1 answer
    Is it possible to use wshshell.appactivate to switch between multiple internet explorer windows? I am trying to ... webpage dialog popping up. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
792 views
1 answer
    This is probably impossible, but I have a loop that displays a animated logo by using TYPE to type logo_( ... how. Any ideas? Thanks. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
494 views
1 answer
    I have folder with the following structure folder subfolder(empty) subfolder file1.bat file2.bat file3. ... :OutputZipFilessomeArchive.zip pause See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
759 views
1 answer
    I have a variable in my batch file and it contains the pipe symbol (this one: |) so when I echo the ... well as any extra spaces before it. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
920 views
1 answer
    for /f "tokens=*" %%a in ('find /v ":" "%appdata%gamelauncheroptions.txt" ^| find "menu=a"') do ( set ... a? Thanks for any help in advance! See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...