Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - arewar

Pages: [1]
1
Feature Requests and Suggestions / GUI: Display drive name
« on: July 06, 2015, 21:23:11 »
Just a minor thing I think would be more convenient for me.

The drive bar displays the letters of each drive, but not the names. It would be great to have an option to display the names of those drives here. (Bonus points for being able to give them aliases as well.)

2
Script / Re: FocusPath/TargetPath/SourcePath empty?
« on: July 06, 2015, 16:48:27 »
Thank you. Apologies for my stupidity!

I figured out the reason for my problem was the sourcepath was giving me a trailing slash, which caused my program to fail and therefore appear to be empty. Your comment helped me get it in a variable, so then I could edit the string to be what I needed.

set test=${sourcepath}
set newtest=%test:~0,-2%"
echo %newtest%
D:
cd D:\Test\_QA\check
CreateChecksum -NODB %newtest% 5000000 0
pause

Thanks for your assistance.

3
Script / Re: FocusPath/TargetPath/SourcePath empty?
« on: July 02, 2015, 22:41:41 »
As I said... I tried sourcepath, targetpath, and focus path.

I've tried again to verify and have the same results. ${sourcepath} gives no information. ${sourcefocuspath} however, does return a selected file.


Edit - is it possible to store these in variables in Batch files?

Success:
echo ${sourcepath}

Failure:
set test = ${sourcepath}
echo %test%

4
Script / FocusPath/TargetPath/SourcePath empty?
« on: July 02, 2015, 18:14:31 »
I'm trying to make a button that runs a program with certain directory information. I'm creating a user command batch script.

This is what I have in my script area. It changes to the directory I need, runs the program and feeds in the "focusfilepath". What I show below works great, but what I need is ${focuspath} instead of focusFILEpath. When I use ${focuspath} it does not give me any data, it's just empty.

I've also tried targetpath and sourcepath, which are also empty. But their FILE-counterparts work too. Am I missing something to get just the directory?

D:
cd D:\Test\_QA\check
CreateChecksum -NODB "${focusfilepath}" 5000000 0

Pages: [1]