Hi I tried to open a file in explorer for a chat application using java, using the code
Runtime.getRuntime().exec("explorer.exe /select," + recievedFile);
It works fine except when there is comma(",")
in file name.
I cannot replace comma(",")
with empty space or some other characters because I have to preserve the file name.
Any other possibilities? Without altering the file name? I must have the file selected and opened in a new explorer window. Thanks.