Page 1 of 1

Create Batch File to Open and Start File with CC Viewer

Posted: Wed Jun 21, 2023 5:01 pm
by eliscio
Hello,

I would like to know if it's possible to create a batch file that would open the CC Viewer and open a specific bin file? Ideally, I would like this to work from a relative path so I can put files on a USB key and give it to someone to open who does not have CC installed on their computer.

Do you think this can work? Would a separate batch file be required for Windows and Mac?

Thanks!

Re: Create Batch File to Open and Start File with CC Viewer

Posted: Thu Jun 22, 2023 8:18 pm
by DA523
in Windows

start.bat


@echo off

if exist "d:\123.bin" (
"d:\ccViewer_v1.41.alpha_bin_x64\ccViewer.exe" "d:\123.BIN"
)

if exist "e:\123.bin" (
"e:\ccViewer_v1.41.alpha_bin_x64\ccViewer.exe" "e:\123.BIN"
)

if exist "f:\123.bin" (
"f:\ccViewer_v1.41.alpha_bin_x64\ccViewer.exe" "f:\123.BIN"
)

exit