Main Menu

HOME

.Net
ASP
Assembly
C
C++
Delphi
HTML
Java
JavaScript
MySQL
PC interface
Powershell
Perl
PHP
VBScript
Visual Basic
XML

Make money selling software. Check this out here

Hosted clickbank mall. Check this out here




   Misc

   Amazon

   Links

    


Select a drive in DOS
 

 

 

Description

This shows all the disk drives present on the system . This is for DOS based systems.

Code

#include <stdio.h>
#include <dir.h>

void main(void)
{
int drives;

drives = setdisk(3);
printf("The number of available drives is %d\n", drives);
}

Information

tested using Borland Turbo C

Download

selectdrive1.txt

 

 

 

 

 

 




   Sponsors
 

   Software
500 Java Tips E-book
PHP editor
PERL editor
Beginning Java
Beginning Visual Basic
Learn VB.net
Learn VB 6
VB and databases
ASP image library
C++ builder programming
C++ fundamentals

   Source Code
background effect(Javascript)
create a word report on the services on your PC(VBScript)
convert an IP address to a hostname(C Sharp)
adds a command prompt here to the context menu(VBScript)
File functions(C)
Center a form on the screen(VB)
Open and display a text file(ASP)
send an email with minimal code(VB)

    




Copyright © 2003 by programmershelp.co.uk