Hi All,

Im trying to make a simple program which changes the files properties and was wondering how i would make this code:

Code:
@echo off
title File Changer
:menu
echo [ Menu ]
echo H to Hide the File
echo S to Show the File
set /p f=File Name: 
set /p c=Option: 
if %c%==h goto h
if %c%==H goto h
if %c%==s goto s
if %c%==S goto s
:h
echo Hiding File...
attrib %f% +s +h
cls
goto menu
:s
echo Showing File...
attrib %f% -s -h
cls
goto menu
to work in vb, or change it to a Equivalent vb code.

Any Idea's?

Thanks,

Jamie.