For older operating systems, you could potentially use BitsTransfer with powershell as in this StackOverflow Answer:
https://stackoverflow.com/questions/302 ... lternative
Search found 178 matches
- 01 Feb 2022 10:22
- Forum: DOS Batch Forum
- Topic: Find text string in TXT hosted on Server.
- Replies: 11
- Views: 9485
- 26 Jan 2022 14:13
- Forum: DOS Batch Forum
- Topic: type file dont change??
- Replies: 5
- Views: 3768
Re: type file dont change??
Yes...It is the correct path/rute of notepad. I make a video of 1 minute for if someone want to see it. maybe seeing what I did you can see the error I maked. https://www.youtube.com/watch?v=POZ7tU-_m_s Thanks...... Well, I see you edited your post to correct the file path, but now you don't have t...
- 26 Jan 2022 12:49
- Forum: DOS Batch Forum
- Topic: type file dont change??
- Replies: 5
- Views: 3768
Re: type file dont change??
Be sure you are selecting the correct location of the notepad++.exe file. On my system at least, the path is: "C:\Program Files (x86)\Notepad++\notepad++.exe"
- 14 Jan 2022 07:18
- Forum: DOS Batch Forum
- Topic: Hardawre Profile script has messy output
- Replies: 1
- Views: 1959
Re: Hardawre Profile script has messy output
WMIC has several output formats. For example: wmic baseboard list /format:value You can replace the word "value" with several other options, like htable. To see a list of potential formats, use this command: wmic baseboard list /format /? This site has some good information: https://petri.com/comman...
- 14 Jan 2022 07:03
- Forum: DOS Batch Forum
- Topic: Moving backed-up files to a folder named by date.
- Replies: 3
- Views: 7309
Re: Moving backed-up files to a folder named by date.
The %date% and %time% variables are going to be locale and language specific. For reliability across systems, it is better to use WMIC. You can find several posts on this forum. Here is one example from Steffan (aGerman):
viewtopic.php?t=9348#p60703
viewtopic.php?t=9348#p60703
- 12 Jan 2022 12:49
- Forum: DOS Batch Forum
- Topic: Capture variable in parallel
- Replies: 4
- Views: 2662
Re: Capture variable in parallel
Thank you, Steffen! Helpful as always.
- 12 Jan 2022 11:15
- Forum: DOS Batch Forum
- Topic: Capture variable in parallel
- Replies: 4
- Views: 2662
Re: Capture variable in parallel
You are using the START command which means that your command runs in a child process. Updates of the child environment have no influence to the parent environment. Steffen Got it. Thank you. Do you have an alternate recommended method to run a command to capture a variable in parallel to the main ...
- 12 Jan 2022 09:09
- Forum: DOS Batch Forum
- Topic: Capture variable in parallel
- Replies: 4
- Views: 2662
Capture variable in parallel
Hello Folks. I've been reading various threads, but I haven't been able to achieve what I'm trying to do. I'm capturing various system properties as variables in a script. In this process, I am attempting to capture the level of fragmentation of the system drive. However, the defrag command is a bit...
- 10 Jan 2022 09:15
- Forum: DOS Batch Forum
- Topic: how do i make an output of ECHO SET V5=2>> %BAT%
- Replies: 16
- Views: 8490
Re: how do i make an output of ECHO SET V5=2>> %BAT%
If you would like to know a bit more about how Delayed Expansion works, I would suggest this page:
https://ss64.com/nt/delayedexpansion.html
- 23 Dec 2021 07:17
- Forum: DOS Batch Forum
- Topic: Obfuscate code.
- Replies: 19
- Views: 9881
Re: Obfuscate code.
One way to do this is through the use of iexpress.exe from the %__APPDIR__% folder. With this utility, you can convert .bat files to .exe and thus obfuscate the code.
- 13 Dec 2021 07:30
- Forum: DOS Batch Forum
- Topic: Simple Counter Issue
- Replies: 10
- Views: 5532
Re: Simple Counter Issue
--William PennSense shines with a double luster when it is set in humility. An able yet humble man is a jewel worth a kingdom.
- 09 Dec 2021 07:04
- Forum: DOS Batch Forum
- Topic: Simple Counter Issue
- Replies: 10
- Views: 5532
Re: Simple Counter Issue
I see that your code included the /F flag which also listed the DisplayName_Localized items. However, while this code generates a count of the items from the registry, it does not also output that list to a text document in the same for for loop as was my original intent.
- 08 Dec 2021 14:59
- Forum: DOS Batch Forum
- Topic: Simple Counter Issue
- Replies: 10
- Views: 5532
Re: Simple Counter Issue
Thank you for trying to convince me that I'm attempting what should be a relatively simple task. I'm generating a list of installed 64-bit application was completely irrelevant, regardless of your failure to do so . If it wasn't relevant, why include it at all, your question would simply have read,...
- 08 Dec 2021 13:53
- Forum: DOS Batch Forum
- Topic: Simple Counter Issue
- Replies: 10
- Views: 5532
Re: Simple Counter Issue
What makes you think, (even if you have potentially and deliberately removed your code to determine where the end user's PC, was running a 64-bit Windows Operating System) , that every application listed under that key are 64-bit too? First of all, no code was deliberately removed from this post. M...
- 08 Dec 2021 09:28
- Forum: DOS Batch Forum
- Topic: Creating a script to gather PC information - to assist those asking for help
- Replies: 167
- Views: 151202
Re: Creating a script to gather PC information - to assist those asking for help
I noticed one small glitch on line 129:
Shouldn't that be (%%i) as in:
Code: Select all
if not defined OEMCP for /f "tokens=*" %%i in ('%chcp%') do for %%j in (%%j) do set "OEMCP=%%~nj"
Code: Select all
if not defined OEMCP for /f "tokens=*" %%i in ('%chcp%') do for %%j in (%%i) do set "OEMCP=%%~nj"