Search found 178 matches
- 2023-Jul-02, 1:17 pm
- Forum: Meta: Site Feedback / Forum Q&A
- Topic: wscript.Shell no xref to ExpandEnvironmentStrings
- Replies: 1
- Views: 76029
Re: wscript.Shell no xref to ExpandEnvironmentStrings
Thanks, have added that one now along with BrowseForFolder.
- 2023-Jun-29, 5:17 pm
- Forum: Meta: Site Feedback / Forum Q&A
- Topic: download link of NVSPBIND
- Replies: 4
- Views: 14795
Re: download link of NVSPBIND
Theres an archive copy here
Looks like the Hyper-V team have abandoned this though.
Looks like the Hyper-V team have abandoned this though.
- 2023-Jun-29, 4:54 pm
- Forum: Windows CMD Shell
- Topic: the auto exec page
- Replies: 7
- Views: 15952
Re: the auto exec page
Thanks have updated the page now.
- 2023-Jun-16, 6:31 pm
- Forum: Windows CMD Shell
- Topic: SysPrep exit codes
- Replies: 1
- Views: 7926
Re: SysPrep exit codes
Yes I haven't yet put up a page about Sysprep because it is mostly a GUI so slightly off topic for SS64. Also it is not a command I have any experience with, so I doubt I'd be able to add anything useful beyond what is already in the Microsoft documentation. I have just added links to the Microsoft ...
- 2023-Jun-13, 7:02 pm
- Forum: Windows CMD Shell
- Topic: How to convert argument list to skip first argument???
- Replies: 1
- Views: 7456
Re: How to convert argument list to skip first argument???
SHIFT
Code: Select all
set _path=%1
shift
set _filelist=%*
- 2023-Jun-05, 9:21 pm
- Forum: Windows PowerShell
- Topic: from a filename to file paths
- Replies: 6
- Views: 12223
Re: from a filename to file paths
See How-to: Run a PowerShell script
https://ss64.com/ps/syntax-run.html
https://ss64.com/ps/syntax-run.html
- 2023-Jun-05, 4:54 pm
- Forum: Windows CMD Shell
- Topic: from a filename to file paths
- Replies: 10
- Views: 12168
Re: from a filename to file paths
You may have to adjust the filenames to match what you have.
- 2023-Jun-05, 4:53 pm
- Forum: Windows PowerShell
- Topic: from a filename to file paths
- Replies: 6
- Views: 12223
Re: from a filename to file paths
PowerShell can be run from a .PS1 script or directly at the command line, just adjust the filenames to match what you have.
- 2023-Jun-01, 4:30 pm
- Forum: Windows CMD Shell
- Topic: Automatically apply the current working path as a title to the command line window.
- Replies: 4
- Views: 7772
Re: Automatically apply the current working path as a title to the command line window.
If you go into the registry HKCU\Software\Microsoft\Command Processor\ Create a new string value called: AutoRun set it to: TITLE %cd% That will set the title of each new CMD window (wherever it is opened from) to the current directory when opened, just be aware that if you change directory the titl...
- 2023-May-30, 11:03 pm
- Forum: Windows PowerShell
- Topic: from a filename to file paths
- Replies: 6
- Views: 12223
Re: from a filename to file paths
Code: Select all
CD C:\Doc\
$files = get-content files.txt
foreach ($file in $files) {dir $file -recurse | select -expandProperty fullname | out-file -append -encoding utf8 C:\demo\result.txt}