DonationCoder.com Software > Finished Programs
DONE: Create Folder, Give It Name: Current Date and Time
4wd:
You need to pass through the parameter given to the batch file when it's called.
On my phone atm but the batch receives the current folder in parameter %1, you need to pass it through to PowerShell.
At the start of the PoSh script you need:
Param (
[string]$folder
)
$folder now contains the current path so you can put it after the -Path parameter in the New-Item cmdlet.
Curt:
64 bit, Windows 10, PC:
"This file does not have an app associated with it for performing this action. (...etc)."-Error Message
--- End quote ---
#metoo
4wd:
64 bit, Windows 10, PC:
"This file does not have an app associated with it for performing this action. (...etc)."-Error Message
--- End quote ---
#metoo
-Curt (October 25, 2018, 05:56 PM)
--- End quote ---
Windows 10 is the problem, it happens across different configurations, different programs.
nogojoe:
Curious if anyone else gets the following error when the 'background' reg is used, and attempting to create date-time folder:
"explorer.exe
This file does not have an app associated with it for performing this action.
(...etc)."
I've been trying to research it, but seem to arrive at dead ends.
-nkormanik (October 24, 2018, 01:50 AM)
--- End quote ---
getting the same message Win XP 3
Navigation
[0] Message Index
[*] Previous page
Go to full version