0
我有要求打印在Windows目錄中選擇的文件的完整路徑和文件名。如何打印在java中的Windows控制檯中選擇的文件列表
我採取的方法是
1. create key in registry to give option in context menu
2. attached the context menu option to execute my java program
現在我有這個問題, 我要選擇幾個文件,
1. then right click on it
2. then execute my java program
3. and have the list of files selected in my java program as an input
我不能夠達到3點
任何指導如何接近它或更好的替代
你可以引導一個例子和教程點1? –
@ HussainAkhtarWahid'Ghouri'請檢查我的更新答案。我只是爲點1添加一個小樣本。 –
創建一個快捷方式並指向,行不清楚給我:( –