PSHELL and NTFS File Streams

     _x64: 1
   _admin: 1
_elevated: 1

TCC  26.01.40 x64   Windows 10 [Version 10.0.18363.900]

I have a .PS1 file as a stream name, however, PSHELL does not seem to recognize it;
e:\utils>type cmenu.btm:cmenu.ps1
$o = new-object -com "Shell.Application"
$folder = $o.NameSpace("C:\PROGRA~1\JPSoft\TCMD26\")
$file = $folder.ParseName("tcc.exe")

e:\utils>pshell cmenu.btm:cmenu.ps1

e:\utils>dir /: cmenu.btm

Volume in drive E is New Volume   Serial number is 2c1e:6e61
Directory of  E:\Utils\cmenu.btm

2020-07-22   9:04             296  cmenu.btm
                              166    cmenu.ps1:$DATA
                 462 bytes in 1 file and 0 dirs    8,192 bytes allocated
   1,458,335,899,648 bytes free


If I use a non-stream file,
PSHELL cmenu.ps1
it works as it should.

Is this WAD, that is, PSHELL does not recognize stream files?

May 20, 2008
Syracuse, NY, USA
That's odd since you can execute the stream directly in Powershell. Below, this is Powershell and the second command works.

Similar threads
Thread starter Title Forum Replies Date
Joe Caverly PSHELL and COM Object in v27 Support 1
Joe Caverly PSHELL in v27 vs. 26 Support 17
vefatica @PSHELL? Support 5
Peter Murschall v27.00.17: PSHELL /S dosn't do nothing Support 8
vefatica PSHELL: How pass arguments to script? Support 15
Joe Caverly Using @PSHELL from @EVAL Support 8
vefatica PSHELL and @PSHELL fail the first time in a new TCC. Support 3
Peter Murschall Documentation Question to %@PSHELL Support 4
Joe Caverly PSHELL and @PSHELL errorlevel values Support 4
Joe Caverly PSHELL and out-of-process servers Support 2
Joe Caverly PSHELL /C Support 7
vefatica What happens to PSHELL after 20 seconds? Support 9
Joe Caverly .PS1 script does not work with PSHELL Support 11
Joe Caverly How to use Powershell Profile with PSHELL Support 14
samintz PSHELL's CWD Support 2
Joe Caverly Missing PSHELL in HELP Support 0
Joe Caverly PSHELL Blank Line Display Support 2
vefatica PSHELL? Support 6
Joe Caverly PSHELL and Receive-Job Support 4
Joe Caverly PSHELL Error? Support 16
Joe Caverly Documentation @PSHELL Support 0
M Fixed PSHELL command returns error Support 2
Tim Rowe NTFS Descriptions not working Support 13
Joe Caverly @FILESIZE and NTFS File Stream Support 1
vefatica NTFS descriptions? Support 7
vefatica REN and NTFS streams? Support 3
L How to copy an old xp drive to a large ntfs drive Support 6
S NTFS file compression via ATTRIB Support 2
C Directory listing that shows NTFS file descriptions? Support 3
Joe Caverly ZIPing individual NTFS File Streams Support 4
C NTFS Descriptions don't work? Support 3
J History file load hangs if file has complete garbage in it... Support 1
jdanielp Cannot step into and/or call another .bat file when debugging .bat file Support 2
thorntonpg file explorer - short cut keys Support 1
JohnQSmith New online help file wrong logo Support 7
Jay Sage WAD Possible Bug With OPTION Command With @FILE Support 5
samintz How to? swap endianness in a binary file Support 12
vefatica `Back quotes` - command line vs. batch file Support 5
fpefpe How to? batch file size Support 2
Jay Sage Issues With TCMD File Explorer Support 0
FreezerBurnt Help making a CMD and TCC compatible batch file Support 7
Joe Caverly Embedding an .EXE (or other file) into a .BTM Support 8
U Command help on file names Support 5
S Concatenate all playlists into 1 file Support 22
Joe Caverly Set a batch variable (%1 - %n) when TCC is executing a batch file Support 5
Joe Caverly Rename file that begins with Emoji Support 7
P Kill all other instances of tcc from a btm batch file Support 2
D ffind hangs on large file Support 18
Alpengreis Documentation Minor issue in help file for view /E Support 1
fpefpe batch file ending early Support 18

Similar threads