The filename, directory name, or volume label syntax is incorrect. : 'C\Users\rpabot1 \Downloads\ABC|_InduslandBank_RECON_PROCESS.1.0.32[strPathToProcessLib +“\nitAllSettings xaml”
This Eror Is comeing .
The filename, directory name, or volume label syntax is incorrect. : 'C\Users\rpabot1 \Downloads\ABC|_InduslandBank_RECON_PROCESS.1.0.32[strPathToProcessLib +“\nitAllSettings xaml”
This Eror Is comeing .
Hi @AZAd_rajput
"C:\Users\rpabot1\Downloads"
).Path.Combine
to correctly concatenate paths.This error is coming before the bot starts execution. The filepath is coming from assets
Please share the error screenshot.
Ensure the asset is correctly defined as a Text asset, clean up the file path by trimming spaces, and check that the file path is correctly accessed and formed before using it in your workflow.
C\Users\rpabot1 \Downloads\ABC**|**_InduslandBank_RECON_PROCESS.1.0.32[strPathToProcessLib
Folder Name can’t contains(|) can cross check whether it is valid foldername or not
Happy Automation!!
In test workflow it is working just fine but when debugging from main.xaml it throws error before starting
Hello, its just a typo. There is nothing ‘|’ in the path
You’re absolutely right! The |
character is not allowed in folder or file names on Windows. Certain characters, such as |
, :
, *
, ?
, "
, <
, >
, and /
, are not allowed in file or folder names in Windows due to file system restrictions.
Pls corrected format:
strPathToProcessLib = “C:\Users\rpabot1\Downloads\ABC_InduslandBank_RECON_PROCESS.1.0.32”
strXamlPath = strPathToProcessLib + “\nitAllSettings.xaml”
(Might be i’ll wrong should there - “intAllSettings.xaml”
Log Message: "Final Path: " + strXamlPath
Try this.
happy Automation
Hello,
The execution is not starting. This error popup is coming when debugging the process from main.xaml
Yes , because they check everything while compiling first
yes But what is solution of this issue
Please share your workflow screenshot, you hide your sensitive info. then we can provide better solution
thanks
its Contains confidential Info. I can’t Share Screenshot
Ok Understood @AZAd_rajput
main.xaml
to print out the file path you are trying to use. This will help you debug if the path is being passed correctly.It looks like the directory is not valid
try accessing manually and see if it is working fine
create one test sequence, and use asset to access particular directory, see whether you are able to access it or not, if not check whether that folder is there or not