Search found 1971 matches
- 15 Jan 2022 05:10
- Forum: DOS Batch Forum
- Topic: batch script to log into email account
- Replies: 6
- Views: 9213
Re: batch script to log into email account
1) The OP is from 2009. 2) We don't know the browser the op is using, so we can't know whether or not that browser is capable of auto login. 3) Adding login and password to cookies never ever is a good idea. 4) Unless the website doesn't support outo login, adding login and password to a cookie have...
- 15 Jan 2022 04:51
- Forum: DOS Batch Forum
- Topic: finding parent dir and current dir names in a branch
- Replies: 5
- Views: 4031
Re: finding parent dir and current dir names in a branch
AA is n-file x n-file operations and not n-file operations ??? If you read this twice (or three times or even four times) would you get any sensible information out of it? Just guessing that nnnmmm tries to make a claim about quadratic run time requirement of that command. The input seem to be the ...
- 12 Jan 2022 07:03
- Forum: DOS Batch Forum
- Topic: how do i make an output of ECHO SET V5=2>> %BAT%
- Replies: 16
- Views: 8486
Re: how do i make an output of ECHO SET V5=2>> %BAT%
Though that information is technically correct, this is not the issue of the OP,
since nnnmmm used that specific detail corrrectly in his opening post.
since nnnmmm used that specific detail corrrectly in his opening post.
- 28 Dec 2021 08:25
- Forum: DOS Batch Forum
- Topic: issue with IF statement and weird character
- Replies: 21
- Views: 10415
Re: issue with IF statement and weird character
The actual codepage of the "cmd.exe" might be interesting (using "chcp.com"), in case it's no control character, but some form of whitespace-character like some version of a "comma".
penpen
penpen
- 27 Dec 2021 20:03
- Forum: DOS Batch Forum
- Topic: Obfuscate code.
- Replies: 19
- Views: 9875
Re: Obfuscate code.
I would have expected any intermediate batch file user to easily get the password (at least here in this case, where we are allowed to see the code), though i have no access to such a group to check.
penpen
penpen
- 27 Dec 2021 08:35
- Forum: DOS Batch Forum
- Topic: HDD size
- Replies: 8
- Views: 5640
Re: HDD size
I also don't know that and would expect it to work lke aGerman assumed; but you might test that for yourself, since you already seem to have such a setup (maybe you could get the information of all hdds remotely and check of one differs too muc; my partitions don't sum up to the disk size, which pro...
- 26 Nov 2021 07:36
- Forum: DOS Batch Forum
- Topic: Coding challenge for any interested parties
- Replies: 20
- Views: 10304
Re: Coding challenge for any interested parties
You should also check against code injection inputs like 'test=123" & echo(' with a big enough length like 10. I only found one reliable way to check whether the input string is empty. I'm not sure if i should post it here as it may spoil the fun out of it for others to discover that for themselves....
- 24 Nov 2021 16:16
- Forum: DOS Batch Forum
- Topic: Coding challenge for any interested parties
- Replies: 20
- Views: 10304
Re: Coding challenge for any interested parties
I think, you need to provide some more detail on the input: - the encoding of the characters: Which codepage do you assume to be used? - the source type: Is the input stored in file or do you retrieve that from STDIN? - the source format: Is there a delimiter, that seperates both inputs (string and ...
- 21 Nov 2021 17:47
- Forum: DOS Batch Forum
- Topic: How to close cmd after Programm startet
- Replies: 4
- Views: 3454
Re: How to close cmd after Programm startet
I'm not familiar with OpenJDK, but if it's similar to the JDK, then there are two executables: One for windows ("javaw.exe") and one for the console window ("java.exe"). If you start the console version, then the console will stay open, because its streams (STDIN, STDOUT and STDERR) are connected wi...
- 12 Nov 2021 08:35
- Forum: DOS Batch Forum
- Topic: Detect echo state without temporary file
- Replies: 14
- Views: 16775
- 12 Nov 2021 08:20
- Forum: DOS Batch Forum
- Topic: Download files with certutil -urlcache
- Replies: 3
- Views: 3919
Re: Download files with certutil -urlcache
-- is it really reliable method to download any file (the first form, or second one or both)? -- are there any restrictions in using this tool? The option "-split" might be needed depending on how the server you are downloading from answers your request. If the file you want to get is send as an im...
- 12 Nov 2021 08:04
- Forum: DOS Batch Forum
- Topic: Batch file edit text file
- Replies: 20
- Views: 46243
Re: Batch file edit text file
When there are unknown numbers in a particular place, then you either have to get to know those (e.g. using the "for/f"-command), or have to use something that is able to search for structures in strings. So that depends on the source file you want to process; if there's are only a single (or very f...
- 28 Sep 2021 17:22
- Forum: DOS Batch Forum
- Topic: display time in 12 hr
- Replies: 25
- Views: 28313
Re: display time in 12 hr
I don't know about the bug you mentioned, so the following might or might not ne usefull. In my experience a changing offset is caused by the "Set Time Zone Automatically" feature, which is realized by an informed guessing of your current geolocation; see: https://docs.microsoft.com/en-us/uwp/api/Wi...
- 18 Sep 2021 18:58
- Forum: DOS Batch Forum
- Topic: Drag and Drop batch file correction
- Replies: 1
- Views: 3295
Re: Drag and Drop batch file correction
I am not familiar with the command line arguments of the tool "ffmpeg".
Do you have a working sample line for a single file?
penpen
Do you have a working sample line for a single file?
penpen
- 05 Sep 2021 09:52
- Forum: DOS Batch Forum
- Topic: How to return ascii value in 'bg _Kbd'
- Replies: 9
- Views: 6683
Re: How to return ascii value in 'bg _Kbd'
The parameter "_Kbd" commands the bg.exe tool to read a character from the input buffer if present, else returns 0.
As this is clearly not what you (back_slash) are looking for, you should follow Steffen's suggestion to use "Kbd" instead.
penpen
As this is clearly not what you (back_slash) are looking for, you should follow Steffen's suggestion to use "Kbd" instead.
penpen