Search found 3 matches

by g3kr
02 Sep 2015 12:41
Forum: DOS Batch Forum
Topic: Access file path containing paranthesis
Replies: 7
Views: 3808

Re: Access file path containing paranthesis

Even if i use /C instead of -c, its not working.

its not able to access a file path that contains a folder name in this format test(123)
by g3kr
02 Sep 2015 06:50
Forum: DOS Batch Forum
Topic: Access file path containing paranthesis
Replies: 7
Views: 3808

Re: Access file path containing paranthesis

This is my batch script @ECHO off setlocal enableextensions enabledelayedexpansion REM ****************************************************************************** REM DESCRIPTION: REM Converts xls to XML . REM MODIFICATION HISTORY: REM *************************************************************...
by g3kr
01 Sep 2015 21:37
Forum: DOS Batch Forum
Topic: Access file path containing paranthesis
Replies: 7
Views: 3808

Access file path containing paranthesis

Hi, I have a batch script which accepts optional named parameters. When i run the batch script from cmd with parameter(file path with a folder name in this format : XYZ(1234)) it throws an error ) unexpected at this time c:\Gayu>test.bat -c "c:\Gayu\Test(123)\abc.xls" ) was unexpected at t...