Guest User

Untitled

a guest
Apr 5th, 2013
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.55 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. int main(void){
  5. char hostfile[75], hiddenfile[75], hiddenFileName[15] ;
  6.  
  7. printf("Enter the name(with extension) and path of the file whose behind you want to hide another file: ");
  8. scanf("%75s", hostfile);
  9.  
  10. printf("Enter the path(with name and extension of the file) to the file you want to hide: ");
  11. scanf("%75s", hiddenfile);
  12.  
  13. printf("Enter the name of the file you want to hide: ");
  14. scanf("%15s", hiddenFileName);
  15.  
  16.  system("type \"%s\" > \"%s:%s\"", hiddenfile, hostfile, hiddenFileName);
  17. return 0;
  18. }
Advertisement
Add Comment
Please, Sign In to add comment