問題タブ [cd-rom]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
windows - CDRom デバイスをドライブ文字に関連付ける
CD-ROM ドライブのディスク イメージを作成するプログラムを作成しています。ボリューム イメージだけでなく、完全なディスク イメージを作成する必要がありますが、結果のファイルに適切な名前を付けることができるように、ボリューム名が必要です。
基本的に私はこれが必要です:
CD-ROM ドライブが CD-ROM 0 であることはわかっているので、そこにあるボリュームを知る必要があります。
PowerShell から WMI をクエリしようとしましたが、うまくいきませんでした。
Get-WMIObject -Class Win32_LogicalDisk
すべてのドライブ文字とボリューム ラベルを教えてくれます。
Get-WmiObject Win32_DiskPartition
ラベル/文字のないパーティションのリストが表示されます。
Get-WMIObject -Class Win32_PhysicalMedia
のようなデバイス アドレス (?) が表示され\\.\CDROM0
ます。
Get-WMIObject -Class Win32_DiskDrivePhysicalMedia
ハード ドライブが入っているだけで、CD-ROM はありません。
私は何が欠けていますか?
\\.\CDROM0
文字Dとラベルが何であれ、ボリュームがあることを確認する方法が必要です。これを行う方法はありますか?多分いくつかのkernel32関数?
batch-file - How to create a batch file to run a videodisc?
I have a CD with the following folders:
I want to make a file autorun.bat
that when clicked will start the video.
How to do it?
Here are the details of each Folder's contents -
CDI CDI picture here
EXT EXT image
MPEGAV MPEGAV Picture
The rest of the folders are empty.
The folders run only 1 video. (no more updates sorry, i lost the CD.)