首页 > 解决方案 > 我想要一个打开的子文件夹并在其中创建一个 txt 文件

问题描述

我是这样尝试的。我也想在两个文件夹之间反复来回跳转。请帮忙。

#include<stdio.h>

#include<windows.h>

int main()
{
    system("cd Players"); //Players is the name of my subfolder

 


    system("echo > test.txt");




    return 0;
}

标签: cdirectory

解决方案


推荐阅读