Search found 178 matches

by Simon Sheppard
2023-Jul-02, 1:17 pm
Forum: Meta: Site Feedback / Forum Q&A
Topic: wscript.Shell no xref to ExpandEnvironmentStrings
Replies: 1
Views: 75860

Re: wscript.Shell no xref to ExpandEnvironmentStrings

Thanks, have added that one now along with BrowseForFolder.
by Simon Sheppard
2023-Jun-29, 5:17 pm
Forum: Meta: Site Feedback / Forum Q&A
Topic: download link of NVSPBIND
Replies: 4
Views: 14566

Re: download link of NVSPBIND

Theres an archive copy here
Looks like the Hyper-V team have abandoned this though.
by Simon Sheppard
2023-Jun-29, 4:54 pm
Forum: Windows CMD Shell
Topic: the auto exec page
Replies: 7
Views: 15667

Re: the auto exec page

Thanks have updated the page now.
by Simon Sheppard
2023-Jun-16, 6:31 pm
Forum: Windows CMD Shell
Topic: SysPrep exit codes
Replies: 1
Views: 7889

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 ...
by Simon Sheppard
2023-Jun-05, 9:21 pm
Forum: Windows PowerShell
Topic: from a filename to file paths
Replies: 6
Views: 11890

Re: from a filename to file paths

See How-to: Run a PowerShell script
https://ss64.com/ps/syntax-run.html
by Simon Sheppard
2023-Jun-05, 4:54 pm
Forum: Windows CMD Shell
Topic: from a filename to file paths
Replies: 10
Views: 11989

Re: from a filename to file paths

You may have to adjust the filenames to match what you have.
by Simon Sheppard
2023-Jun-05, 4:53 pm
Forum: Windows PowerShell
Topic: from a filename to file paths
Replies: 6
Views: 11890

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.
by Simon Sheppard
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: 7687

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...
by Simon Sheppard
2023-May-30, 11:03 pm
Forum: Windows PowerShell
Topic: from a filename to file paths
Replies: 6
Views: 11890

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}
This is assuming the current directory is the start point for the search.